43 lines
864 B
Fish
43 lines
864 B
Fish
|
# ______ _ _
|
||
|
# | ____(_) | |
|
||
|
# | |__ _ ___| |__
|
||
|
# | __| | / __| '_ \
|
||
|
# | | | \__ \ | | |
|
||
|
# |_| |_|___/_| |_|
|
||
|
|
||
|
|
||
|
set TERM "xterm"
|
||
|
|
||
|
|
||
|
function fish_greeting
|
||
|
echo "Giant tux in your house."
|
||
|
end
|
||
|
|
||
|
|
||
|
function fish_prompt
|
||
|
echo -e "$USER # "
|
||
|
end
|
||
|
|
||
|
function ssh -d 'kitty compatible ssh command'
|
||
|
switch $TERM
|
||
|
case xterm-kitty
|
||
|
kitty +kitten ssh $argv
|
||
|
case "*"
|
||
|
command ssh $argv
|
||
|
end
|
||
|
end
|
||
|
|
||
|
|
||
|
# set PATH "/opt/local/bin:$PATH"
|
||
|
|
||
|
# aliases
|
||
|
alias ngrok="~/.ngrok"
|
||
|
alias vi="nvim"
|
||
|
alias mpv="mpv --volume=50"
|
||
|
alias m="mpv ~/music/* --volume=50"
|
||
|
alias syncMusic="rsync -vur music/ fileServer:files/music/"
|
||
|
alias htop="htop -C"
|
||
|
alias f="sshfs fileServer:files/ ~/fileServer"
|
||
|
alias fu="fusermount3 -u ~/fileServer"
|
||
|
alias r="sudo rmmod rmi_smbus && sudo modprobe rmi_smbus; sudo sv restart NetworkManager"
|