removes fish greetings
This commit is contained in:
parent
2ffa0033ae
commit
0ba0025692
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue