Last active
August 17, 2024 13:51
-
-
Save zhirzh/6ba43c89b3fb866243f1f1f0f4a6a2ac to your computer and use it in GitHub Desktop.
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 ls="ls -lAFG" | |
adbAll() { | |
devices=$(adb devices | grep -w device | cut -f 1) | |
for device in $devices; do | |
echo "adb -s" "$device" "$@" | |
adb -s "$device" "$@" | |
done | |
} |
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
# zsh warning | |
export BASH_SILENCE_DEPRECATION_WARNING=1 | |
# clean history | |
export HISTFILESIZE= | |
export HISTSIZE= | |
export HISTCONTROL=ignoreboth:erasedups | |
# alias | |
. "$HOME/.bash_aliases" | |
# prompt | |
. "$HOME/.bash_prompt" | |
# git | |
. "$HOME/.git-completion.bash" | |
. "$HOME/.git-prompt.sh" | |
# asdf | |
. "$(brew --prefix asdf)/libexec/asdf.sh" | |
. "$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash" | |
# android | |
export ANDROID_HOME="$HOME/Library/Android/sdk" | |
export PATH="$ANDROID_HOME/emulator:$PATH" | |
export PATH="$ANDROID_HOME/tools:$PATH" | |
export PATH="$ANDROID_HOME/tools/bin:$PATH" | |
export PATH="$ANDROID_HOME/platform-tools:$PATH" | |
# java | |
export JAVA_11_HOME="$HOME/Library/Java/JavaVirtualMachines/corretto-11.0.19/Contents/Home" | |
export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home" | |
# cocoapods | |
# export LANG=en_US.UTF-8 | |
# node | |
# export NODE_OPTIONS=--max_old_space_size=4096 |
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
RESET='\[\e[m\]' | |
RED='\[\e[1;31m\]' | |
GREEN='\[\e[1;32m\]' | |
YELLOW='\[\e[1;33m\]' | |
BLUE='\[\e[1;34m\]' | |
WHITE='\[\e[1;37m\]' | |
SPACER="$RESET " | |
DIR="$YELLOW\w" | |
TIME="$BLUE\t" | |
BRANCH="$GREEN\$(__git_ps1 '%s ')" | |
PS1="$TIME $DIR $BRANCH$RESET\$ " |
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
[user] | |
name = Shirsh Zibbu | |
email = zibbu.shirsh@gmail.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment