From 0ba0025692677e76ef8fd86d3fbdb8242d81e7d1 Mon Sep 17 00:00:00 2001 From: Bruno Carlin Date: Fri, 6 Jul 2018 09:27:56 +0200 Subject: [PATCH] removes fish greetings --- fish/.config/fish/config.fish | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 +