forked from amacgregor/dot-files
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
127594a
commit a48753d
Showing
3 changed files
with
106 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
########################################## | ||
# Core Aliases | ||
########################################## | ||
alias ske='PULSE_LATENCY_MSEC=30 /usr/bin/skype' | ||
alias jksrv='jekyll serve --watch --drafts --trace' | ||
alias ptsleep='pm-suspend' | ||
|
||
########################################## | ||
# zsh/oh-my-zsh aliasies | ||
########################################## | ||
alias zshconfig="vim ~/.zshrc" | ||
alias ohmyzsh="vim ~/.oh-my-zsh" | ||
alias reload!="source ~/.zshrc" | ||
|
||
########################################## | ||
# dotfiles aliasies | ||
########################################## | ||
alias dotconfig="cd ~/Dotfiles && vim" | ||
|
||
########################################## | ||
# Easier Navigation aliases | ||
########################################## | ||
alias ..="cd .." | ||
alias ...="cd ../.." | ||
alias ....="cd ../../.." | ||
alias .....="cd ../../../.." | ||
alias ~="cd ~" # `cd` is probably faster to type though | ||
|
||
########################################## | ||
# Utility aliases | ||
########################################## | ||
alias ll="ls -lhA" | ||
alias svim="sudo vim" | ||
alias c='pygmentize -O style=monokai -f console256 -g' | ||
alias history-stat="history | awk '{print \$2}' | sort | uniq -c | sort -n -r | head" | ||
|
||
########################################## | ||
# Tmux/Tmuxifier | ||
########################################## | ||
alias tmuxl='tmux list-sessions' | ||
alias tmuxa='tmux attach' | ||
alias elixir-ide="tmuxifier load-session elixir-ide" | ||
|
||
########################################## | ||
# Experimental | ||
########################################## | ||
|
||
# Git aliases | ||
#alias gpub = "!git push -u origin $(git branch-name)" | ||
#alias gunpub = "!git push origin :$(git branch-name)" | ||
#alias master-cleanse = !"git checkout master && git branch --merged | xargs git branch -d; git branch -r --merged origin/master | sed 's/ *origin\///' | grep -v '^master$' | xargs -I% git push origin :% 2>&1 | grep --colour=never 'deleted'" | ||
|
||
# Git-mainle aliases | ||
#alias topic-start = '!branch=$1; git checkout master; git pull; git checkout -b "$branch" master' | ||
#alias topic-pull = '!branch=$(git branch-name); git checkout master; git pull; git checkout "$branch"; git rebase --no-ff master' | ||
#alias topic-push = '!branch=$(git branch-name); git push -u origin "$branch"' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
########################################## | ||
# Core Variables | ||
########################################## | ||
export PULSE_LATENCY_MSEC=30 | ||
export EDITOR='vim' | ||
export HOMEBREW_NO_ANALYTICS=1 | ||
export JEKYLL_ENV=development | ||
|
||
# NPM Varialbes | ||
NPM_PACKAGES="$HOME/.npm-packages" | ||
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" | ||
|
||
# Setting up the Paths | ||
COMPOSERPATH="$HOME/.composer" | ||
TMUXIFIERPATH="$HOME/.tmuxifier" | ||
GOPATH="$HOME/go" | ||
|
||
# Setting up the Bin Paths | ||
GOBINPATH="$GOPATH/bin" | ||
COMPOSERBINPATH="$COMPOSERPATH/vendor/bin" | ||
NPMBINPATH="$NPM_PACKAGES/bin" | ||
TMUXIFIERBINPATH="$TMUXIFIERPATH/bin" | ||
HOMEBIN="$HOME/bin" | ||
|
||
# Build and Export the PATH | ||
export PATH="$GOBINPATH:$COMPOSERBINPATH:$TMUXIFIERBINPATH:$NPMBINPATH:$HOMEBIN:$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters