diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 533427a..0d64470 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -19,6 +19,7 @@ set -x GOPATH ~/.go ## aliases alias jsonpp "python -mjson.tool" +# Emulates !! function bind_bang switch (commandline -t)[-1] case "!" @@ -32,7 +33,8 @@ function fish_user_key_bindings bind ! bind_bang end -function __autovenv --on-variable PWD +# Autosource python virtualenv +function __autovenv_python --on-variable PWD set -l base $PWD set -l has_venv false @@ -53,5 +55,10 @@ function __autovenv --on-variable PWD end end +# set command timing in prompt set fish_command_timer_time_format '' source ~/.config/fish/command_timer.sh + +# Removes greeting message +set fish_greeting +