From eb096ce4bfb6f907f718f78c87ea0ca67ac22ae9 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Mon, 30 Apr 2012 23:40:24 -0500 Subject: [PATCH] set defaults, set defaults PS1 (temp) --- set-defaults.sh | 0 zsh/config.zsh | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 set-defaults.sh create mode 100644 zsh/config.zsh diff --git a/set-defaults.sh b/set-defaults.sh new file mode 100644 index 0000000..e69de29 diff --git a/zsh/config.zsh b/zsh/config.zsh new file mode 100644 index 0000000..d83d989 --- /dev/null +++ b/zsh/config.zsh @@ -0,0 +1,28 @@ +# make terminal command navigation sane again +bindkey '^[^[[D' backward-word +bindkey '^[^[[C' forward-word +bindkey '^[[5D' beginning-of-line +bindkey '^[[5C' end-of-line +bindkey '^[[3~' delete-char +bindkey '^[^N' newtab +bindkey '^?' backward-delete-char + +setopt NO_BG_NICE +setopt NO_HUP +setopt NO_LIST_BEEP +setopt LOCAL_OPTIONS +setopt LOCAL_TRAPS +setopt IGNORE_EOF +setopt PROMPT_SUBST + +# history +setopt HIST_VERIFY +setopt EXTENDED_HISTORY +setopt HIST_REDUCE_BLANKS +setopt HIST_IGNORE_ALL_DUPS +setopt INC_APPEND_HISTORY SHARE_HISTORY +setopt APPEND_HISTORY + +setopt COMPLETE_ALIASES + +export PS1='%3~ ☠ '