aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_zshrc')
-rw-r--r--dot_zshrc34
1 files changed, 34 insertions, 0 deletions
diff --git a/dot_zshrc b/dot_zshrc
new file mode 100644
index 0000000..ccb5330
--- /dev/null
+++ b/dot_zshrc
@@ -0,0 +1,34 @@
+autoload -Uz compinit
+compinit
+
+HISTFILE=~/.zsh_history
+SAVEHIST=1000
+HISTSIZE=1000
+
+bindkey '^R' history-incremental-search-backward
+bindkey '^r' history-incremental-pattern-search-backward
+
+setopt hist_ignore_dups
+setopt appendhistory
+unsetopt beep
+
+# zstyle :compinstall filename '/home/zam/.zshrc'
+export EDITOR='nvim'
+alias vim='nvim'
+alias cd='z'
+alias ls='eza --icons=always'
+
+export path
+
+type starship_zle-keymap-select >/dev/null || \
+ {
+ eval "$(starship init zsh)"
+ }
+
+eval "$(zoxide init zsh)"
+
+source /usr/share/zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh
+source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+
+fastfetch