removes fish greetings

This commit is contained in:
Bruno Carlin 2018-07-06 09:27:56 +02:00
parent 2ffa0033ae
commit 0ba0025692

View file

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