fix(ubuntu): empty peco functions and key bindings

This commit is contained in:
Juan Wu 2022-12-15 19:20:21 -05:00
commit 601f63d52b
4 changed files with 7 additions and 7 deletions

View file

@ -5,10 +5,9 @@ status is-interactive && eval /home/jc/miniconda3/bin/conda "shell.fish" "hook"
# Go
set -g GOPATH $HOME/go
set -g GOBIN $GOPATH/bin
# Add gobin to path
fish_add_path $GOBIN
fish_add_path $GOPATH/bin
#x-server
set -g DISPLAY $(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

View file

@ -1,10 +1,11 @@
function fish_user_key_bindings
# bind peco functionalities
# search directoies
# search directories
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
end