summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorMichaël Ball <michael@Michaels-MacBook-Pro.local>2024-07-16 16:12:12 +0100
committerMichaël Ball <michael@Michaels-MacBook-Pro.local>2024-07-16 16:12:12 +0100
commit4385c252eb461a0ec9dbf9569a8f9ef7f0664289 (patch)
treede1005fbc0274eea549dc42ca5be17101b937463 /zsh/.zshrc
Initial commit
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
new file mode 100644
index 0000000..50bb646
--- /dev/null
+++ b/zsh/.zshrc
@@ -0,0 +1,33 @@
+# The following lines were added by compinstall
+
+zstyle ':completion:*' completer _complete _ignored
+zstyle ':completion:*' matcher-list ''
+zstyle :compinstall filename '/home/gid/.zshrc'
+
+autoload -Uz compinit
+compinit
+# End of lines added by compinstall
+# Lines configured by zsh-newuser-install
+setopt HIST_IGNORE_SPACE
+HISTFILE=~/.histfile
+HISTSIZE=99999
+SAVEHIST=99999
+setopt sharehistory
+# End of lines configured by zsh-newuser-install
+bindkey -v
+
+bindkey '^P' up-history
+bindkey '^N' down-history
+bindkey '^?' backward-delete-char
+bindkey '^h' backward-delete-char
+bindkey '^w' backward-kill-word
+bindkey '^r' history-incremental-search-backward
+
+PROMPT='%~ > '
+
+export PYENV_ROOT="$HOME/.pyenv"
+[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
+eval "$(pyenv init -)"
+if command -v ngrok &>/dev/null; then
+ eval "$(ngrok completion)"
+fi