summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-11-09 08:59:41 -0700
committerJordan <me@jordan.im>2020-11-09 08:59:41 -0700
commitf098b47a257f4bf71e83a5fb5d92583da1be763f (patch)
tree6f66f1eee099d243177844194ee6ac9365f11948 /.zshrc
downloaddotfiles-f098b47a257f4bf71e83a5fb5d92583da1be763f.tar.gz
dotfiles-f098b47a257f4bf71e83a5fb5d92583da1be763f.zip
initial commit
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc26
1 files changed, 26 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..33e3046
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,26 @@
+# Lines configured by zsh-newuser-install
+HISTFILE=~/.histfile
+HISTSIZE=1000
+SAVEHIST=1000
+# End of lines configured by zsh-newuser-install
+# The following lines were added by compinstall
+zstyle :compinstall filename '/home/jordan/.zshrc'
+
+autoload -Uz compinit
+compinit
+# End of lines added by compinstall
+export LANG=en_US.UTF-8
+export PATH=/home/jordan/.local/bin:$PATH
+export PATH=/home/jordan/.local/go/bin:$PATH
+export GOROOT=/home/jordan/.local/go
+
+alias ls="ls --color=auto"
+alias redshift="redshift -c ~/.config/redshift/redshift.conf 2>/dev/null 1>&2 &"
+alias rd="rd -B lynx"
+
+parse_git_branch() {
+ git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
+}
+setopt PROMPT_SUBST
+PROMPT='%(!.%F{red}.%F{cyan})%n%f@%F{yellow}%m%f %F{red}%~%f$(parse_git_branch)> '
+TERM=screen-256color