feat(fish): add a function to change directory to the output of workon
This commit is contained in:
parent
8d10ee325f
commit
abf981cc85
1 changed files with 6 additions and 0 deletions
6
fish/.config/fish/functions/w.fish
Normal file
6
fish/.config/fish/functions/w.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
function w
|
||||||
|
set -l out (workon $argv)
|
||||||
|
if test "$status" -eq 0
|
||||||
|
cd $out
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue