44 lines
1.0 KiB
Fish
44 lines
1.0 KiB
Fish
|
|
||
|
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
|