summaryrefslogtreecommitdiff
path: root/dotzshrc-arch
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2021-12-31 16:23:52 -0600
committerBrad Clawsie <brad@b7j0c.org>2021-12-31 16:23:52 -0600
commitccbd3d682de4e0bd3dc076d27dbdd616635eef47 (patch)
treed0163053daebe936de159464d72cb8597d42a766 /dotzshrc-arch
parenta4e355d37754ba902df15ecf4962a267e89c0ef7 (diff)
arch
Diffstat (limited to 'dotzshrc-arch')
-rw-r--r--dotzshrc-arch50
1 files changed, 50 insertions, 0 deletions
diff --git a/dotzshrc-arch b/dotzshrc-arch
new file mode 100644
index 0000000..76b8c37
--- /dev/null
+++ b/dotzshrc-arch
@@ -0,0 +1,50 @@
+export HISTFILE=$HOME/.histfile
+export HISTSIZE=1000
+export SAVEHIST=1000
+bindkey -e
+zstyle :compinstall filename "$HOME/.zshrc"
+autoload -Uz compinit
+compinit
+
+PS1="$ "
+
+# perl
+export PERL_UNICODE="AS"
+export PERL_READLINE_NOWARN="yes"
+
+# perl paths to add to INC
+export LOCAL_INC_PATHS="$HOME/repos/grokloc-perl5/lib"
+PERL5LIB="$LOCAL_INC_PATHS:$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}";
+export PERL5LIB;
+
+# paths
+export HOMEBINPATHS="$HOME/bin"
+export PATH="$HOMEBINPATHS:$PATH"
+
+# text
+export ALTERNATE_EDITOR="emacs" EDITOR="emacsclient" VISUAL="emacsclient"
+export LC_ALL=en_US.UTF-8
+export LANG=en_US.UTF-8
+
+# zsh
+alias c=clear
+alias h=history
+
+setopt autopushd pushdminus pushdsilent pushdtohome
+setopt autocd
+setopt cdablevars
+setopt interactivecomments
+setopt noclobber
+setopt HIST_REDUCE_BLANKS
+setopt HIST_IGNORE_SPACE
+setopt SH_WORD_SPLIT
+
+zstyle ':completion:*' completer _complete _match _approximate
+zstyle ':completion:*:match:*' original only
+zstyle ':completion:*:approximate:*' max-errors 1 numeric
+zstyle ':completion:*:*:kill:*' menu yes select
+zstyle ':completion:*:kill:*' force-list always
+zstyle ':completion:*:cd:*' ignore-parents parent pwd
+
+clear;
+