Skip to content

Instantly share code, notes, and snippets.

@gzmask
Last active April 12, 2017 01:01
Show Gist options
  • Save gzmask/c83b8aeb413c7ec5bf713190188b4c79 to your computer and use it in GitHub Desktop.
Save gzmask/c83b8aeb413c7ec5bf713190188b4c79 to your computer and use it in GitHub Desktop.
# source this file in .bashrc
# shortcuts
alias v=/usr/bin/nvim
#alias e="/usr/local/bin/emacs-25.1 --insecure&"
function e () { /usr/local/bin/emacs-25.1 --insecure "$1" & }
alias w="cmd.exe /c start"
alias gui-start="/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl&"
alias gui-stop="cmd.exe /c taskkill /IM vcxsrv.exe /F"
# emacs terminal color fix
export TERM=xterm-256color
# gui config
export DISPLAY=:0
# docker-client
export DOCKER_HOST=tcp://0.0.0.0:2375
export PATH=$PATH:~/bin
# react-native
export ANDROID_HOME=/c/Users/31908/AppData/Local/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# /> android.bat list avd
# /> emulator -avd [name of the avd]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment