summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cox <james@imaj.es>2009-09-23 01:18:15 +0100
committerJames Cox <james@imaj.es>2009-09-23 01:18:15 +0100
commitb6d778201bae29d4b713f3651f500df10312f5d1 (patch)
tree42019bf612023c0e236f0af5f67b5c8277285539
parent93af38f154174f8af9e2aa71a1a64bdc640c3655 (diff)
downloadzsh-b6d778201bae29d4b713f3651f500df10312f5d1.tar.gz
zsh-b6d778201bae29d4b713f3651f500df10312f5d1.tar.bz2
zsh-b6d778201bae29d4b713f3651f500df10312f5d1.zip
more fixes, more or less have this as i want
-rw-r--r--directories.zsh2
-rw-r--r--functions.zsh1
-rw-r--r--key-bindings.zsh5
-rw-r--r--misc.zsh5
4 files changed, 12 insertions, 1 deletions
diff --git a/directories.zsh b/directories.zsh
index 31d5336bf..56d7a2316 100644
--- a/directories.zsh
+++ b/directories.zsh
@@ -1,5 +1,7 @@
# Changing/making/removing directory
setopt auto_name_dirs
+setopt auto_pushd
+setopt pushd_ignore_dups
alias ..='cd ..'
alias cd..='cd ..'
diff --git a/functions.zsh b/functions.zsh
index e3891f6fc..2fb096dd6 100644
--- a/functions.zsh
+++ b/functions.zsh
@@ -1,3 +1,4 @@
+## fixme, i duplicated this in xterms - oops
function title {
if [[ $TERM == "screen" ]]; then
# Use these two for GNU Screen:
diff --git a/key-bindings.zsh b/key-bindings.zsh
index 2fae6d05d..87e47bab6 100644
--- a/key-bindings.zsh
+++ b/key-bindings.zsh
@@ -9,6 +9,11 @@ bindkey -s '\e.' "..\n"
bindkey '^r' history-incremental-search-backward
bindkey "^[[5~" up-line-or-history
bindkey "^[[6~" down-line-or-history
+
+# make search up and down work, so partially type and hit up/down to find relevant stuff
+bindkey '^[[A' up-line-or-search
+bindkey '^[[B' down-line-or-search
+
bindkey "^[[H" beginning-of-line
bindkey "^[[1~" beginning-of-line
bindkey "^[[F" end-of-line
diff --git a/misc.zsh b/misc.zsh
index c368cff95..fab4be931 100644
--- a/misc.zsh
+++ b/misc.zsh
@@ -3,4 +3,7 @@ autoload -U url-quote-magic
zle -N self-insert url-quote-magic
## file rename magick
-bindkey "^[m" copy-prev-shell-word \ No newline at end of file
+bindkey "^[m" copy-prev-shell-word
+
+## jobs
+setopt long_list_jobs \ No newline at end of file