aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-10 23:11:04 +0000
committerAlex Schofield <git@ajschof.me>2025-02-10 23:11:04 +0000
commit59ca7f8bca00a77569dba6e8b4a00e0f8465c07f (patch)
tree602898310437e9b44e019cff104fa56b1e7c599b /zsh
parent3887e6280f92a3d5929622fc36d300b3dfe21b55 (diff)
downloaddotfiles-59ca7f8bca00a77569dba6e8b4a00e0f8465c07f.tar.gz
dotfiles-59ca7f8bca00a77569dba6e8b4a00e0f8465c07f.zip
move & update .zshrc
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
new file mode 100644
index 0000000..9720ad5
--- /dev/null
+++ b/zsh/.zshrc
@@ -0,0 +1,25 @@
+# ZSH Configuration
+# Author: Alex Schofield
+
+# Git Alias
+alias gs='git status'
+alias ga='git add'
+alias gc='git commit'
+alias gcm='git commit -m'
+alias gco='git checkout'
+alias gb='git branch'
+alias gpl='git pull'
+alias gpu='git push'
+alias gl='git log --oneline --graph --decorate'
+alias glg="git log --graph --pretty=format:'%C(bold blue)%h%Creset - %C(white)%s%Creset %C(dim white)- %an, %ar%Creset' --abbrev-commit"
+
+# Other Alias
+alias grep="grep --color=always"
+
+# History
+HISTFILE=~/.zsh_history
+HISTSIZE=10000
+SAVEHIST=10000
+setopt append_history
+setopt share_history
+setopt extended_history
git.ajschof.me — hosted by ajschofield — powered by cgit