Last active
August 28, 2023 03:03
-
-
Save Maysora/11a4646ac3884a43fe63a4e1dea5c725 to your computer and use it in GitHub Desktop.
my .bash_profile file
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
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