55 lines
1.5 KiB
Bash
Executable File
55 lines
1.5 KiB
Bash
Executable File
|
|
# Path to your oh-my-zsh installation.
|
|
export ZSH=/home/tristan/.oh-my-zsh
|
|
|
|
# Set name of the theme to load. Optionally, if you set this to "random"
|
|
# it'll load a random theme each time that oh-my-zsh is loaded.
|
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
|
hostname=$(</etc/hostname)
|
|
if [[ "$hostname" == "T-i3" ]]; then
|
|
ZSH_THEME="T-i3"
|
|
elif [[ "$hostname" == "TServer" ]]; then
|
|
ZSH_THEME="TServer"
|
|
else
|
|
ZSH_THEME="T-netbook"
|
|
fi
|
|
|
|
plugins=(archlinux zsh-autosuggestions)
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
# export MANPATH="/usr/local/man:$MANPATH"
|
|
export RANGER_LOAD_DEFAULT_RC=FALSE
|
|
|
|
# You may need to manually set your language environment
|
|
# export LANG=en_US.UTF-8
|
|
|
|
#Preferred editor for local and remote sessions
|
|
export EDITOR='nvim'
|
|
|
|
# Compilation flags
|
|
# export ARCHFLAGS="-arch x86_64"
|
|
|
|
# ssh
|
|
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
|
|
|
# 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"
|
|
alias ccat="source-highlight --out-format=esc -i"
|
|
alias lal="ls -la"
|
|
alias lh="ls -lh"
|
|
alias ip="ip -c"
|
|
alias be="bundle exec"
|
|
alias ber="bundle exec rails"
|
|
|
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
|
export PATH="$HOME/.rvm/bin:$PATH"
|
|
#export PATH="$HOME/.rvm/wrappers/jruby-9.1.15.0@global:$PATH"
|
|
source $HOME/.rvm/scripts/rvm
|