fish: some functions and aliases
This commit is contained in:
parent
077a885d2a
commit
331c9b0e69
24 changed files with 115 additions and 40 deletions
4
cli/.config/fish/functions/groot.fish
Normal file
4
cli/.config/fish/functions/groot.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function groot
|
||||
set -l root (command git rev-parse --show-toplevel)
|
||||
test $status -eq 0 && cd $root
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue