add config.fish
This commit is contained in:
parent
ff623646d7
commit
0db0f0836f
43
fish/config.fish
Normal file
43
fish/config.fish
Normal file
@ -0,0 +1,43 @@
|
||||
|
||||
export PATH="$PATH:/home/mmeyer/.local/bin"
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||
|
||||
kubectl completion fish | source
|
||||
|
||||
if not pgrep --full ssh-agent | string collect > /dev/null
|
||||
mkdir -p /tmp/ssh-agent/
|
||||
eval (ssh-agent -c -a "/tmp/ssh-agent/agent.pid") > /dev/null
|
||||
set -Ux SSH_AGENT_PID $SSH_AGENT_PID
|
||||
set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK
|
||||
end
|
||||
|
||||
if status is-interactive
|
||||
alias s="ssh server"
|
||||
alias j="ssh jump"
|
||||
|
||||
# Commands to run in interactive sessions can go here
|
||||
alias ssh="TERM=xterm-256color $(which ssh)"
|
||||
alias vim="nvim"
|
||||
alias c="clear"
|
||||
alias l="exa"
|
||||
alias ls="exa"
|
||||
alias ll="exa -l"
|
||||
alias la="exa -la"
|
||||
|
||||
alias cat="bat --plain"
|
||||
|
||||
alias off="systemctl poweroff"
|
||||
alias reboot="systemctl reboot"
|
||||
|
||||
alias k="kubectl"
|
||||
|
||||
alias dendron="code --no-sandbox --new-window /home/mmeyer/Projekte/dendron/dendron.code-workspace"
|
||||
|
||||
# Fish greeting
|
||||
# disable:
|
||||
set fish_greeting
|
||||
#function fish_greeting
|
||||
# fortune -a
|
||||
#end
|
||||
#funcsave fish_greeting
|
||||
end
|
Loading…
Reference in New Issue
Block a user