mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-09-15 23:15:30 -04:00
updates (mainly to FF user.js)
This commit is contained in:
@@ -51,12 +51,16 @@ alias ripmenu="sudo killall SystemUIServer NotificationCenter"
|
||||
alias finder="open -a Finder ./"
|
||||
|
||||
# use VS Code insiders build
|
||||
alias code="code-insiders"
|
||||
#alias code="code-insiders"
|
||||
alias vs="code ./"
|
||||
|
||||
# required: https://github.com/github/hub
|
||||
# `brew install hub`
|
||||
alias git="hub"
|
||||
alias g="hub"
|
||||
alias github="hub browse"
|
||||
alias gist="hub gist create --open"
|
||||
|
||||
alias gc="git commit -m" # + commit message
|
||||
alias gca="git add . && git commit -m" # + commit message
|
||||
alias gs="git status -sb"
|
||||
@@ -67,16 +71,18 @@ alias gpom="git push origin master"
|
||||
alias glom="git pull origin master"
|
||||
alias gpo="git push origin" # + branch name
|
||||
alias glo="git pull origin" # + branch name
|
||||
alias gphm="git push hosted master" # self-hosted gitlab
|
||||
alias gb="git checkout" # + branch name
|
||||
alias gbn="git checkout -b" # + branch name
|
||||
alias gphm="git push hosted master" # self-hosted git
|
||||
alias gb="git checkout" # + existing branch name
|
||||
alias gbn="git checkout -b" # + new branch name
|
||||
alias grm="git rebase -i origin/master"
|
||||
alias gsub="git submodule update --recursive --remote"
|
||||
alias gundo="git reset --soft HEAD~1"
|
||||
alias gf="hub fork --remote-name=origin"
|
||||
alias gpr="hub pull-request"
|
||||
alias greset="git reset"
|
||||
alias gsync="hub sync"
|
||||
alias gopen="hub browse"
|
||||
alias ghnew="hub create --browse"
|
||||
alias ghfork="hub fork --remote-name=origin"
|
||||
alias ghpr="hub pull-request --push --edit --browse"
|
||||
alias ghci="hub ci-status --verbose"
|
||||
|
||||
alias dc="docker-compose"
|
||||
alias dcu="docker-compose up -d"
|
||||
@@ -97,4 +103,5 @@ alias ytmp3="youtube-dl -f bestaudio -x --audio-format mp3 --audio-quality 320K"
|
||||
|
||||
alias weather="curl -4 https://wttr.in/Boston"
|
||||
|
||||
alias make_hugo="cd ~/golang/src/github.com/gohugoio/hugo && git pull && mage hugo && HUGO_BUILD_TAGS=extended mage install"
|
||||
alias hugod="docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop"
|
||||
|
13
zsh/path.zsh
13
zsh/path.zsh
@@ -9,7 +9,7 @@ export PATH="$PATH:$GOROOT/bin"
|
||||
|
||||
# Ruby
|
||||
export RUBY_HOME=/usr/local/opt/ruby/bin
|
||||
export GEM_PATH=~/.gem/ruby/2.6.0
|
||||
export GEM_PATH=/usr/local/lib/ruby/gems/2.7.0
|
||||
export PATH="$RUBY_HOME:$PATH"
|
||||
export PATH="$GEM_PATH/bin:$PATH"
|
||||
|
||||
@@ -22,9 +22,20 @@ export PATH="/usr/local/opt/curl/bin:$PATH"
|
||||
# Rust/Cargo
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
# nvm
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
# yarn
|
||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||
|
||||
# pyenv
|
||||
if command -v pyenv 1>/dev/null 2>&1; then
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
# rbenv
|
||||
eval "$(rbenv init -)"
|
||||
|
||||
# ----- Third-party additions below: -----
|
||||
|
||||
|
Reference in New Issue
Block a user