aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index f6ad077..4564568 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -297,6 +297,12 @@ getstate () {
. ~/environment.tmp
}
+# use ctrl-z to toggle in and out of bg
+if [[ $- == *i* ]]; then
+ stty susp undef
+ bind '"\C-z":" fg\015"'
+fi
+
# cd using "up n" as a command up as many directories, example "up 3"
up() {
# default parameter to 1 if non provided