Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Executes commands at the start of an interactive session.
- #
- # Authors:
- # Sorin Ionescu <sorin.ionescu@gmail.com>
- #
- # Source Prezto.
- if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
- source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
- fi
- # Customize to your needs...
- # anhphuc's customization starts
- # Bash vi editing mode
- set -o vi
- export VISUAL=vim
- export EDITOR="$VISUAL"
- # Custom git aliases
- alias gs="git status"
- alias gl="git lg"
- alias gm='git merge'
- alias gp="git push"
- alias gr='git remote'
- alias gc="git commit -v"
- alias ga='git add'
- alias gaa="git add --all"
- alias gdf="git diff HEAD"
- alias gds="git diff --stat HEAD"
- alias gco='git checkout'
- alias gf='git fetch'
- #alias grb='git rebase'
- #alias grs='git reset'
- # Custom tmux settings
- #export TERM=xterm-256color
- export TERM=xterm-256color-italic # Still needs other customizations
- # Other aliases
- alias subl="open -a \"Sublime Text\""
- #anhphuc's customization ends
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement