Skip to content

Instantly share code, notes, and snippets.

@pkulev
Created June 20, 2016 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkulev/68785f78c587a1e78f1fc8e36dda3708 to your computer and use it in GitHub Desktop.
Save pkulev/68785f78c587a1e78f1fc8e36dda3708 to your computer and use it in GitHub Desktop.
# Path to your oh-my-zsh installation.
export ZSH=/home/pkulev/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="obraun"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(z zsh-completions colorize sprunge git ssh-agent git-extra zsh-syntax-highlighting)
# User configuration
# PATH
PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
PATH="$PATH:/usr/lib64/qt-3.3/bin" # WHAT THE FUCK
PATH="$PATH:/home/pkulev/.local/bin:~/.local/bin" # My scripts
PATH="$PATH:/home/pkulev/proj/racket/racket/bin" # Racket binary (mv to .bin)
export PATH
export PAGER="most"
export EDITOR="vim"
export PYTHONDONTWRITEBYTECODE=yes
source $ZSH/oh-my-zsh.sh
# ----------------------------------------ALIASES---------------------------------------- #
alias gg="git gr"
alias gitl='git log --format="%C(yellow)%h %C(green)%cn %C(yellow)%cd%C(auto)%d %C(reset)%s" --date=short --color'
alias gitla="gitl --graph --decorate"
alias ll="ls -lahF --color"
alias emc="emacs -nw"
alias em="emacs -t"
# DNF
alias yi="sudo dnf install"
alias yu="sudo dnf makecache && sudo dnf update"
alias ys="dnf search"
alias yr="sudo dnf remove"
alias ya="sudo dnf autoremove"
alias scat="sudo cat"
alias py="python"
alias py2="python2"
alias py3="python3"
alias pips="pip search"
alias pipi="sudo pip install"
alias pipu="sudo pip uninstall"
# OPAM configuration
. /home/pkulev/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment