dotfiles/.zshrc

66 lines
2.1 KiB
Bash
Raw Normal View History

2017-04-22 16:53:37 +03:00
# The following lines were added by compinstall
zstyle :compinstall filename '/home/lanxu/.zshrc'
autoload -U compinit promptinit colors
compinit
promptinit
colors
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt notify
# Ignore lines prefixed with '#'.
setopt interactivecomments
# Ignore duplicate in history.
setopt hist_ignore_dups
# Prevent record in history entry if preceding them with at least one space
setopt hist_ignore_space
# This will set the default prompt to the walters theme
#prompt grml
# You may need to manually set your language environment
export LANG=fi_FI.UTF-8
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='vim'
fi
# Syntax highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
alias top=htop
alias ll="ls -lh"
alias la="ls -a"
alias lp="lastpass.sh"
alias ranger="TERMCMD=termite ranger"
2017-12-17 15:33:10 +02:00
alias search="search.sh"
2017-04-22 16:53:37 +03:00
#alias ls="ls -N --time-style=long-iso --color=auto"
alias ls="ls --time-style=long-iso --color=auto"
alias rhc='RUBYOPT="-W0" rhc'
# Other
alias fixsteam='find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete'
alias runsteam="LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' /usr/bin/steam"
alias steamgamesdir='cd ~/.local/share/Steam/SteamApps/common'
alias emsdksetup='source $EMSDK/emsdk_env.sh'
alias runwinesteam="MESA_GL_VERSION_OVERRIDE=3.3COMPAT PULSE_LATENCY_MSEC=60 run-desktop.py ~/.local/share/applications/wine/Programs/Steam/Steam.desktop"
2017-04-22 16:53:37 +03:00
# https://github.com/chriskempson/base16-shell
# git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
source $HOME/.config/base16-shell/scripts/base16-default-dark.sh
# Emscripten
#source /home/lanxu/Koodit/github/emsdk/emsdk_env.sh
# TERM=xterm-256color
#bindkey "${terminfo[khome]}" beginning-of-line
#bindkey "${terminfo[kend]}" end-of-line