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.

102 lines
3.1 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3. # Path to your oh-my-zsh installation.
  4. export ZSH=/home/josh/.oh-my-zsh
  5. # Set name of the theme to load. Optionally, if you set this to "random"
  6. # it'll load a random theme each time that oh-my-zsh is loaded.
  7. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  8. ZSH_THEME="agnoster"
  9. # Uncomment the following line to use case-sensitive completion.
  10. # CASE_SENSITIVE="true"
  11. # Uncomment the following line to use hyphen-insensitive completion. Case
  12. # sensitive completion must be off. _ and - will be interchangeable.
  13. # HYPHEN_INSENSITIVE="true"
  14. # Uncomment the following line to disable bi-weekly auto-update checks.
  15. # DISABLE_AUTO_UPDATE="true"
  16. # Uncomment the following line to change how often to auto-update (in days).
  17. # export UPDATE_ZSH_DAYS=13
  18. # Uncomment the following line to disable colors in ls.
  19. # DISABLE_LS_COLORS="true"
  20. # Uncomment the following line to disable auto-setting terminal title.
  21. # DISABLE_AUTO_TITLE="true"
  22. # Uncomment the following line to enable command auto-correction.
  23. # ENABLE_CORRECTION="true"
  24. # Uncomment the following line to display red dots whilst waiting for completion.
  25. # COMPLETION_WAITING_DOTS="true"
  26. # Uncomment the following line if you want to disable marking untracked files
  27. # under VCS as dirty. This makes repository status check for large repositories
  28. # much, much faster.
  29. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  30. # Uncomment the following line if you want to change the command execution time
  31. # stamp shown in the history command output.
  32. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  33. # HIST_STAMPS="mm/dd/yyyy"
  34. # Would you like to use another custom folder than $ZSH/custom?
  35. # ZSH_CUSTOM=/path/to/new-custom-folder
  36. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  37. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  38. # Example format: plugins=(rails git textmate ruby lighthouse)
  39. # Add wisely, as too many plugins slow down shell startup.
  40. plugins=(git)
  41. source $ZSH/oh-my-zsh.sh
  42. # User configuration
  43. # export MANPATH="/usr/local/man:$MANPATH"
  44. # You may need to manually set your language environment
  45. # export LANG=en_US.UTF-8
  46. # Preferred editor for local and remote sessions
  47. # if [[ -n $SSH_CONNECTION ]]; then
  48. # export EDITOR='vim'
  49. # else
  50. # export EDITOR='mvim'
  51. # fi
  52. # Compilation flags
  53. # export ARCHFLAGS="-arch x86_64"
  54. # ssh
  55. # export SSH_KEY_PATH="~/.ssh/rsa_id"
  56. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  57. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  58. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  59. # For a full list of active aliases, run `alias`.
  60. #
  61. # Example aliases
  62. # alias zshconfig="mate ~/.zshrc"
  63. # alias ohmyzsh="mate ~/.oh-my-zsh"
  64. #
  65. dlogin() {
  66. docker exec -ti $1 /bin/bash
  67. }
  68. alias docker-composer='docker-compose'
  69. alias gs='g status'
  70. #alias ga 'g add'
  71. alias ci='composer install'
  72. alias cu='composer update'
  73. alias vim='nvim'
  74. [ -z "NVM_DIR" ] && export NVM_DIR "$HOME/.nvm"
  75. source /usr/share/nvm/nvm.sh
  76. source /usr/share/nvm/bash_completion
  77. source /usr/share/nvm/install-nvm-exec