mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-09-10 19:56:24 +00:00
fish config
This commit is contained in:
11
.config/fish/config.fish
Normal file
11
.config/fish/config.fish
Normal file
@@ -0,0 +1,11 @@
|
||||
if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
end
|
||||
function multicd
|
||||
echo cd (string repeat -n (math (string length -- $argv[1]) - 1) ../)
|
||||
end
|
||||
abbr --add dotdot --regex '^\.\.+$' --function multicd
|
||||
abbr -a -- gst 'git status'
|
||||
abbr -a -- gca 'git commit --amend'
|
||||
abbr -a -- gpf 'git push -f'
|
||||
abbr -a -- gp 'git pull'
|
Reference in New Issue
Block a user