aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/.zshrc
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2022-09-15 20:54:50 +0200
committerCharles Cabergs <me@cacharle.xyz>2022-09-15 20:54:50 +0200
commitff082a2ca7ea847de55b9cee8d51708132d0ccc1 (patch)
tree14aab88e7a65cd1c9616de58e520c7089105b5de /config/zsh/.zshrc
parent9dd0982535daae7c5542566b29ff033b1b8b2bc7 (diff)
parent8e8c44d2f9f39ca522723c810c928a3b132712ee (diff)
downloaddotfiles-ff082a2ca7ea847de55b9cee8d51708132d0ccc1.tar.gz
dotfiles-ff082a2ca7ea847de55b9cee8d51708132d0ccc1.tar.bz2
dotfiles-ff082a2ca7ea847de55b9cee8d51708132d0ccc1.zip
Merge branch 'master' of github.com:cacharle/dotfiles
Diffstat (limited to 'config/zsh/.zshrc')
-rw-r--r--config/zsh/.zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc
index a1211cd..9d79a25 100644
--- a/config/zsh/.zshrc
+++ b/config/zsh/.zshrc
@@ -41,6 +41,7 @@ bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char
bindkey -M menuselect 'j' vi-down-line-or-history
bindkey -v '^?' backward-delete-char
+bindkey '^r' history-incremental-search-backward
# vim keybindings in prompt
bindkey -v
@@ -104,7 +105,7 @@ export YSU_MESSAGE_POSITION="after" # you-should
# install pkgfile package on Arch Linux
# run `pkgfile --update`
-if [ "$(uname)" = 'Linux' ]
+if [ "$(uname)" = 'Linux' ] && grep -q Arch /etc/lsb-release > /dev/null
then
. /usr/share/doc/pkgfile/command-not-found.zsh
if [ -d /opt/ros2/galactic ]