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.

49 lines
1.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  1. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  2. export ZSH="$HOME/.oh-my-zsh"
  3. ZSH_THEME="arrow"
  4. plugins=(git zsh-syntax-highlighting)
  5. source $ZSH/oh-my-zsh.sh
  6. set -o vi
  7. alias gac='git add . && git commit'
  8. alias v='nvim'
  9. alias s='ls'
  10. alias c='clear'
  11. alias e='exit'
  12. alias o='xdg-open'
  13. alias cp='cp -r'
  14. alias vc='nvim ~/.config/nvim'
  15. alias vrc='vim ~/.vimrc'
  16. alias vz='nvim ~/.zshrc'
  17. alias sz='source ~/.zshrc'
  18. alias sy='systemctl'
  19. # ~/.zshrc
  20. export MT_EDITOR=nvim
  21. export VISUAL=nvim
  22. export WORKSPACES=$HOME/Documents
  23. f() {
  24. fff "$@"
  25. cd "$(cat "${XDG_CACHE_HOME:=${HOME}/.cache}/fff/.fff_d")"
  26. }
  27. bindkey -s "^f" "~/.local/bin/tmuxs\n"
  28. export WORKSPACES=$HOME/nfs/d2/ohsg11/s2:$HOME/nfs/rpi/ohsg11/s2:$WORKSPACES
  29. alias schoolmount='sudo mount 192.168.1.179:/srv/nfs ~/nfs/rpi'
  30. alias d2mount='sudo mount.cifs -o username=junikim,uid=$(id -u),gid=$(id -g) //157.245.86.196/d2nas ~/nfs/d2'
  31. alias mp='ncmpcpp'
  32. export EDITOR=nvim
  33. export PATH=$HOME/.local/bin:$PATH
  34. export PATH=$HOME/go/bin:$PATH
  35. if [[ "$(command -v nvim)" ]]; then
  36. export EDITOR='nvim'
  37. export MANPAGER='nvim +Man!'
  38. export MANWIDTH=999
  39. fi