add fish and starship to dotfile repo
This commit is contained in:
43
fish/conf.d/98-basic-aliases.fish
Normal file
43
fish/conf.d/98-basic-aliases.fish
Normal file
@@ -0,0 +1,43 @@
|
||||
# tool aliases
|
||||
function irc
|
||||
mosh -p 60561:60565 arsenalgear -- tmux attach -t irc
|
||||
end
|
||||
|
||||
function last_history_item
|
||||
echo $history[1]
|
||||
end
|
||||
abbr -a !! --position anywhere --function last_history_item
|
||||
|
||||
function htop
|
||||
/usr/bin/btop
|
||||
end
|
||||
|
||||
function vim
|
||||
/usr/bin/nvim $argv
|
||||
end
|
||||
|
||||
function vim
|
||||
/usr/bin/nvim $argv
|
||||
end
|
||||
|
||||
function pass --wraps gopass
|
||||
gopass
|
||||
end
|
||||
|
||||
# *ctl aliases
|
||||
function sc --wraps "sudo systemctl"
|
||||
sudo systemctl
|
||||
end
|
||||
|
||||
function scu --wraps "systemctl --user"
|
||||
systemctl --user
|
||||
end
|
||||
|
||||
# ansible related aliases
|
||||
function anp
|
||||
ansible-playbook
|
||||
end
|
||||
|
||||
function anv
|
||||
ansible-vault
|
||||
end
|
||||
Reference in New Issue
Block a user