fix(ubuntu): empty peco functions and key bindings
This commit is contained in:
parent
a55447436c
commit
601f63d52b
4 changed files with 7 additions and 7 deletions
|
|
@ -5,10 +5,9 @@ status is-interactive && eval /home/jc/miniconda3/bin/conda "shell.fish" "hook"
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
set -g GOPATH $HOME/go
|
set -g GOPATH $HOME/go
|
||||||
set -g GOBIN $GOPATH/bin
|
|
||||||
|
|
||||||
# Add gobin to path
|
# Add gobin to path
|
||||||
fish_add_path $GOBIN
|
fish_add_path $GOPATH/bin
|
||||||
|
|
||||||
#x-server
|
#x-server
|
||||||
set -g DISPLAY $(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
|
set -g DISPLAY $(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
function fish_user_key_bindings
|
function fish_user_key_bindings
|
||||||
# bind peco functionalities
|
# bind peco functionalities
|
||||||
# search directoies
|
# search directories
|
||||||
bind \cf peco_change_directory
|
bind \cf peco_change_directory
|
||||||
# search commandline history
|
|
||||||
bind \cr peco_select_history
|
|
||||||
|
|
||||||
# prevent iterm close window with ctrl + d
|
# search commandline history
|
||||||
|
bind \cr peco_select_hisotry
|
||||||
|
|
||||||
|
# prevent iterm close window with ctrl+d
|
||||||
bind \cd delete-char
|
bind \cd delete-char
|
||||||
end
|
end
|
||||||
Loading…
Add table
Add a link
Reference in a new issue