Skip to content

Instantly share code, notes, and snippets.

@Maysora
Last active August 28, 2023 03:03
Show Gist options
  • Save Maysora/11a4646ac3884a43fe63a4e1dea5c725 to your computer and use it in GitHub Desktop.
Save Maysora/11a4646ac3884a43fe63a4e1dea5c725 to your computer and use it in GitHub Desktop.
my .bash_profile file
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# docker
alias dc='docker-compose'
alias dw='dc exec web'
alias dt='dc exec -e "RAILS_ENV=test" web'
alias dx='dw bundle exec'
alias dxr='dx rails'
alias drw='dc run web'
alias drt='dc run -e "RAILS_ENV=test" web'
alias drx='drw bundle exec'
alias drxr='drx rails'
# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
# adb
if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then
export PATH="$HOME/adb-fastboot/platform-tools:$PATH"
fi
# fix gpg passphrase prompt (https://stackoverflow.com/a/57591830)
export GPG_TTY=$(tty)
# project
alias savekerja='/Volumes/CryptData/script/run_backup.sh'
alias kerja='cd /Volumes/CryptData/projects/'
alias keper='kerja; cd personal/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment