start new:
tmux
start new with session name:
tmux new -s myname
| #add script to .oh-my-zsh/lib/functions.zsh | |
| function rm () { | |
| local path | |
| for path in "$@"; do | |
| # ignore any arguments | |
| if [[ "$path" = -* ]]; then : | |
| else | |
| local dst=${path##*/} | |
| # append the time if necessary |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| <snippet> | |
| <content><![CDATA[ | |
| <!-- begin $1 --> | |
| <div class="$1"> | |
| $2 | |
| </div> | |
| <!-- end $1 --> | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>di</tabTrigger> |
| # Move config files to prevent conflicts with project | |
| set :deploy_config_path, 'deploy/config/deploy.rb' | |
| set :stage_config_path, 'deploy/config/deploy' | |
| # Load DSL and Setup Up Stages | |
| require 'capistrano/setup' | |
| # Includes default deployment tasks | |
| require 'capistrano/deploy' |
| //../config/environment.js | |
| /* jshint node: true */ | |
| module.exports = function (environment) | |
| { | |
| var ENV = { | |
| modulePrefix: 'realtor', | |
| environment: environment, | |
| baseURL: null, | |
| locationType: 'hash', |
| let errorHandlers = { | |
| isAuthenticationError: transitionAway, | |
| IsImportantDataError: showError, | |
| isUnimportantDataError: keepTrying | |
| }; | |
| let errorHandler = Object.keys(errorHandlers).find(function(isCurrentError) { isCurrentError(errorFromTryCatch) }); | |
| errorHandler(errorFromTryCatch); |
NOTE: this gist is outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisher-osx