aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcbreton <c.breton@fullsave.com>2019-10-10 09:14:24 +0200
committercbreton <c.breton@fullsave.com>2019-10-10 09:14:24 +0200
commitd7a3c56269db8e2066412da2d7b3808e531b480c (patch)
treef9a5af2ff0b005b452c13f74ae88c88a670994c8
parente0bf2ecad97b5771784c5a2fb144144245e2e93c (diff)
downloaddotfiles_dotdrop-d7a3c56269db8e2066412da2d7b3808e531b480c.tar.xz
dotfiles_dotdrop-d7a3c56269db8e2066412da2d7b3808e531b480c.zip
Rename some dotfile and add a binding for search in history
-rwxr-xr-xdotfiles/zsh/01-aliases.zsh (renamed from dotfiles/zsh/aliases.zsh)3
-rwxr-xr-xdotfiles/zsh/02-autocompletion.zsh (renamed from dotfiles/zsh/autocompletion.zsh)0
-rwxr-xr-xdotfiles/zsh/03-colored-man-pages.zsh (renamed from dotfiles/zsh/colored-man-pages.zsh)0
-rwxr-xr-xdotfiles/zsh/04-environment.zsh (renamed from dotfiles/zsh/environment.zsh)0
-rwxr-xr-xdotfiles/zsh/05-history.zsh (renamed from dotfiles/zsh/history.zsh)0
-rwxr-xr-xdotfiles/zsh/06-keychain.zsh (renamed from dotfiles/zsh/keychain.zsh)0
-rw-r--r--dotfiles/zsh/07-plugin.zsh (renamed from dotfiles/zsh/plugin.zsh)0
-rwxr-xr-xdotfiles/zsh/08-keybindings.zsh (renamed from dotfiles/zsh/keybindings.zsh)3
-rw-r--r--dotfiles/zsh/09-prompt.zsh (renamed from dotfiles/zsh/prompt.zsh)0
-rw-r--r--dotfiles/zsh/10-security.zsh (renamed from dotfiles/zsh/security.zsh)0
-rw-r--r--dotfiles/zsh/11-sourcerer.zsh (renamed from dotfiles/zsh/sourcerer.zsh)0
-rw-r--r--dotfiles/zsh/12-syntax.zsh (renamed from dotfiles/zsh/syntax.zsh)0
12 files changed, 5 insertions, 1 deletions
diff --git a/dotfiles/zsh/aliases.zsh b/dotfiles/zsh/01-aliases.zsh
index f9658d3..6888451 100755
--- a/dotfiles/zsh/aliases.zsh
+++ b/dotfiles/zsh/01-aliases.zsh
@@ -28,7 +28,7 @@ alias "..."="cd ../.."
alias ".3"="cd ../../.."
alias ".4"='cd ../../../../'
alias ".5"='cd ../../../../..'
-alias rm="rm -i"
+alias rmi="rm -i"
alias rmr="rm -if"
alias rmrf="rm -irf"
alias psef="ps -ef"
@@ -128,6 +128,7 @@ alias tactive="task active"
alias tlistprojects="task projects"
alias tlistallprojects="task rc.list.all.projects=1 projects"
alias tsetnext="task modify $@ +next"
+alias tunsetnext="task modify $@ -next"
alias tproject="task project:"
alias tmodify="task modify"
alias tedit="task edit"
diff --git a/dotfiles/zsh/autocompletion.zsh b/dotfiles/zsh/02-autocompletion.zsh
index 15ef28c..15ef28c 100755
--- a/dotfiles/zsh/autocompletion.zsh
+++ b/dotfiles/zsh/02-autocompletion.zsh
diff --git a/dotfiles/zsh/colored-man-pages.zsh b/dotfiles/zsh/03-colored-man-pages.zsh
index 5819c4f..5819c4f 100755
--- a/dotfiles/zsh/colored-man-pages.zsh
+++ b/dotfiles/zsh/03-colored-man-pages.zsh
diff --git a/dotfiles/zsh/environment.zsh b/dotfiles/zsh/04-environment.zsh
index 25c8212..25c8212 100755
--- a/dotfiles/zsh/environment.zsh
+++ b/dotfiles/zsh/04-environment.zsh
diff --git a/dotfiles/zsh/history.zsh b/dotfiles/zsh/05-history.zsh
index eec299f..eec299f 100755
--- a/dotfiles/zsh/history.zsh
+++ b/dotfiles/zsh/05-history.zsh
diff --git a/dotfiles/zsh/keychain.zsh b/dotfiles/zsh/06-keychain.zsh
index 1585f26..1585f26 100755
--- a/dotfiles/zsh/keychain.zsh
+++ b/dotfiles/zsh/06-keychain.zsh
diff --git a/dotfiles/zsh/plugin.zsh b/dotfiles/zsh/07-plugin.zsh
index 9515043..9515043 100644
--- a/dotfiles/zsh/plugin.zsh
+++ b/dotfiles/zsh/07-plugin.zsh
diff --git a/dotfiles/zsh/keybindings.zsh b/dotfiles/zsh/08-keybindings.zsh
index c3e2784..cc32062 100755
--- a/dotfiles/zsh/keybindings.zsh
+++ b/dotfiles/zsh/08-keybindings.zsh
@@ -54,3 +54,6 @@ fi
# Navigate words with ctrl+arrow keys
bindkey '^[[1;5D' backward-word
bindkey '^[[1;5C' forward-word
+
+bindkey '^k' history-substring-search-up
+bindkey '^j' history-substring-search-down
diff --git a/dotfiles/zsh/prompt.zsh b/dotfiles/zsh/09-prompt.zsh
index 9c5fce6..9c5fce6 100644
--- a/dotfiles/zsh/prompt.zsh
+++ b/dotfiles/zsh/09-prompt.zsh
diff --git a/dotfiles/zsh/security.zsh b/dotfiles/zsh/10-security.zsh
index e24fd52..e24fd52 100644
--- a/dotfiles/zsh/security.zsh
+++ b/dotfiles/zsh/10-security.zsh
diff --git a/dotfiles/zsh/sourcerer.zsh b/dotfiles/zsh/11-sourcerer.zsh
index 0826d04..0826d04 100644
--- a/dotfiles/zsh/sourcerer.zsh
+++ b/dotfiles/zsh/11-sourcerer.zsh
diff --git a/dotfiles/zsh/syntax.zsh b/dotfiles/zsh/12-syntax.zsh
index 755d9ff..755d9ff 100644
--- a/dotfiles/zsh/syntax.zsh
+++ b/dotfiles/zsh/12-syntax.zsh