Skip to content

Instantly share code, notes, and snippets.

@dcrystalj
Created December 25, 2015 14:59
Show Gist options
  • Save dcrystalj/06b5ac948e9c78bb3076 to your computer and use it in GitHub Desktop.
Save dcrystalj/06b5ac948e9c78bb3076 to your computer and use it in GitHub Desktop.
zshrrc windows 10 settings msys2
# Path to your oh-my-zsh installation.
export ZSH=/home/tomaz/.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="gallois"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
HYPHEN_INSENSITIVE="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="dd.mm.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=(git)
# User configuration
export PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Skype/Phone:/c/ProgramData/chocolatey/bin:/c/Program Files/Oracle/VirtualBox"
export PYTHONPATH="/c/tools/python"
export PYTHONHOME="/c/tools/python"
export VAGRANT_DETECTED_OS=cygwin
# export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh
alias vi="vim"
alias subl="/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"
alias cdc="cd /c/"
alias cdh="cd /c/Users/tomaz"
alias cdcd="cd /c/Users/tomaz/Desktop"
alias cdgit="cd /c/Users/tomaz/git"
alias cdfax="cd /c/Users/tomaz/OneDrive/poletni\ semsester"
#alias mpv="/cygdrive/c/ProgramData/chocolatey/lib/mpv.0.7.3/tools/mpv.exe"
#alias mpvdvd="/cygdrive/c/ProgramData/chocolatey/lib/mpv/tools/mpv.exe dvd:// --dvd-device=."
alias cddown="/cygdrive/c/downloads/"
#alias cdtpa="/cygdrive/c/Users/Crystal/SkyDrive/poletni\ semsester/TP-A\ tekmovalno\ programiranje"
alias cdchoco="/c/ProgramData/chocolatey/lib"
alias octave="/c/Software/Octave-3.6.4/bin/octave.exe -i"
alias vagrant="/c/HashiCorp/Vagrant/bin/vagrant.exe"
#
#mpv(){"/cygdrive/c/ProgramData/chocolatey/lib/mpv/tools/mpv.exe" $1 --quiet}
##git
#function gc {git clone $1 }
#function gs {git status}
#function gpp {g++ -o $1 $1.cpp && ./$1}
#function tmux { {rm /home/tomaz/.tmux/resurrect/last &} && sleep "1" && link /home/tomaz/.tmux/resurrect/`ls /home/tomaz/.tmux/resurrect/ | sort -r | head -n 1` /home/tomaz/.tmux/resurrect/last && /bin/tmux}
#function tmuxa { {rm /home/tomaz/.tmux/resurrect/last &} && sleep "1" && link /home/tomaz/.tmux/resurrect/`ls /home/tomaz/.tmux/resurrect/ | sort -r | head -n 1` /home/tomaz/.tmux/resurrect/last && /bin/tmux a}
#function vup {cd ~/Homestead && vagrant up && cd -}
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
# else
# export EDITOR='mvim'
fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
export SSH_KEY_PATH="~/.ssh/"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# color man pages
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline]']']']']']']']]]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment