Fish: git fetch after cd
This commit is contained in:
parent
4d8215594e
commit
5a73ae9f4f
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ set -x cdd {{ .deploydir }}
|
||||||
|
|
||||||
# git
|
# git
|
||||||
abbr -a tiga tig --all
|
abbr -a tiga tig --all
|
||||||
|
function __git_fetch_after_cd__on_variable_pwd --on-variable PWD
|
||||||
|
if test -d .git
|
||||||
|
git fetch
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# fzf
|
# fzf
|
||||||
function p --description "cd project"
|
function p --description "cd project"
|
||||||
|
|
Loading…
Add table
Reference in a new issue