diff --git a/dotfiles/.config/fish/config.fish b/dotfiles/.config/fish/config.fish index e22c36f..99ecd2a 100644 --- a/dotfiles/.config/fish/config.fish +++ b/dotfiles/.config/fish/config.fish @@ -58,3 +58,4 @@ abbr python python set -gx GOPATH $HOME/go; set -gx GOROOT $HOME/.go; set -gx PATH $GOPATH/bin $PATH; # g-install: do NOT edit, see https://github.com/stefanmaric/g abbr cat batcat abbr pip pip3 +bind \cd delete diff --git a/dotfiles/.config/fish/functions/delete.fish b/dotfiles/.config/fish/functions/delete.fish new file mode 100644 index 0000000..e23223f --- /dev/null +++ b/dotfiles/.config/fish/functions/delete.fish @@ -0,0 +1,3 @@ +function delete +commandline -f delete-char +end