You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB

4 years ago
4 years ago
  1. alias vim='nvim'
  2. alias bim='nvim'
  3. alias ssh="ssh -A" # forward ssh keys to server
  4. alias cp='cp -iv' # prompt when overwriting and verbose
  5. alias mv='mv -iv' # prompt when overwriting and verbose
  6. #alias ll='ls -FGlAhp'
  7. alias du1='du -h -d 1'
  8. alias ls='exa'
  9. alias gs='git status'
  10. alias gap='git add -p'
  11. alias git_current_branch="git branch | grep \* | cut -d ' ' -f2"
  12. alias ggpull='git pull origin (git_current_branch)'
  13. alias ggpush='git push origin (git_current_branch)'
  14. alias docker-composer='docker-compose'
  15. alias docker-start='systemctl start docker'
  16. alias docker-stop='systemctl stop docker'
  17. alias mux='tmuxinator'
  18. function vpn-start
  19. sudo systemctl start openvpn-client@$argv
  20. end
  21. function vpn-stop
  22. sudo systemctl stop openvpn-client@$argv
  23. end
  24. function vpn-status
  25. sudo systemctl status openvpn-client@$argv
  26. end
  27. # my path
  28. export PATH="/home/joshfabean/.n/bin:/usr/local/bin/php:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:$PATH"
  29. export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
  30. npm set prefix ~/.npm
  31. export PATH="$HOME/.npm/bin:$PATH"
  32. export PATH="./node_modules/.bin:$PATH"
  33. export LIBVA_DRIVER_NAME=vdpau
  34. export EDITOR=nvim
  35. export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
  36. export LC_ALL="en_US.UTF-8"
  37. function fish_prompt
  38. powerline-rs --shell bare $status
  39. end