mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
Fish: git fetch after cd
This commit is contained in:
@@ -26,6 +26,11 @@ set -x cdd {{ .deploydir }}
|
||||
|
||||
# git
|
||||
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
|
||||
function p --description "cd project"
|
||||
|
||||
Reference in New Issue
Block a user