Advertisement
hasancse1991

Untitled

Jan 6th, 2020
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3. export PATH="$HOME/.config/composer/vendor/bin:$PATH"
  4. # add adb to path
  5. export PATH="/home/hasan/Android/Sdk/platform-tools":$PATH
  6.  
  7.  
  8. # Path to your oh-my-zsh installation.
  9. export ZSH="/home/hasan/.oh-my-zsh"
  10.  
  11. # Set name of the theme to load --- if set to "random", it will
  12. # load a random theme each time oh-my-zsh is loaded, in which case,
  13. # to know which specific one was loaded, run: echo $RANDOM_THEME
  14. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  15. # ZSH_THEME="robbyrussell"
  16. ZSH_THEME="bullet-train"
  17.  
  18. # Set list of themes to pick from when loading at random
  19. # Setting this variable when ZSH_THEME=random will cause zsh to load
  20. # a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
  21. # If set to an empty array, this variable will have no effect.
  22. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  23.  
  24. # Uncomment the following line to use case-sensitive completion.
  25. # CASE_SENSITIVE="true"
  26.  
  27. # Uncomment the following line to use hyphen-insensitive completion.
  28. # Case-sensitive completion must be off. _ and - will be interchangeable.
  29. # HYPHEN_INSENSITIVE="true"
  30.  
  31. # Uncomment the following line to disable bi-weekly auto-update checks.
  32. # DISABLE_AUTO_UPDATE="true"
  33.  
  34. # Uncomment the following line to automatically update without prompting.
  35. # DISABLE_UPDATE_PROMPT="true"
  36.  
  37. # Uncomment the following line to change how often to auto-update (in days).
  38. # export UPDATE_ZSH_DAYS=13
  39.  
  40. # Uncomment the following line if pasting URLs and other text is messed up.
  41. # DISABLE_MAGIC_FUNCTIONS=true
  42.  
  43. # Uncomment the following line to disable colors in ls.
  44. # DISABLE_LS_COLORS="true"
  45.  
  46. # Uncomment the following line to disable auto-setting terminal title.
  47. # DISABLE_AUTO_TITLE="true"
  48.  
  49. # Uncomment the following line to enable command auto-correction.
  50. # ENABLE_CORRECTION="true"
  51.  
  52. # Uncomment the following line to display red dots whilst waiting for completion.
  53. COMPLETION_WAITING_DOTS="true"
  54.  
  55. # Uncomment the following line if you want to disable marking untracked files
  56. # under VCS as dirty. This makes repository status check for large repositories
  57. # much, much faster.
  58. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  59.  
  60. # Uncomment the following line if you want to change the command execution time
  61. # stamp shown in the history command output.
  62. # You can set one of the optional three formats:
  63. # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  64. # or set a custom format using the strftime function format specifications,
  65. # see 'man strftime' for details.
  66. HIST_STAMPS="dd.mm.yyyy"
  67.  
  68. # Would you like to use another custom folder than $ZSH/custom?
  69. # ZSH_CUSTOM=/path/to/new-custom-folder
  70.  
  71. # Which plugins would you like to load?
  72. # Standard plugins can be found in ~/.oh-my-zsh/plugins/*
  73. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  74. # Example format: plugins=(rails git textmate ruby lighthouse)
  75. # Add wisely, as too many plugins slow down shell startup.
  76. plugins=(git)
  77.  
  78. source $ZSH/oh-my-zsh.sh
  79.  
  80. # User configuration
  81.  
  82. # export MANPATH="/usr/local/man:$MANPATH"
  83.  
  84. # You may need to manually set your language environment
  85. # export LANG=en_US.UTF-8
  86.  
  87. # Preferred editor for local and remote sessions
  88. # if [[ -n $SSH_CONNECTION ]]; then
  89. # export EDITOR='vim'
  90. # else
  91. # export EDITOR='mvim'
  92. # fi
  93.  
  94. # Compilation flags
  95. # export ARCHFLAGS="-arch x86_64"
  96.  
  97. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  98. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  99. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  100. # For a full list of active aliases, run `alias`.
  101. #
  102. # Example aliases
  103. # alias zshconfig="mate ~/.zshrc"
  104. # alias ohmyzsh="mate ~/.oh-my-zsh"
  105.  
  106. alias gist="git status"
  107. alias add="git add ."
  108.  
  109. function push() {
  110. git add .
  111. if [ "$1" != "" ] # or better, if [ -n "$1" ]
  112. then
  113. git commit -m "$1"
  114. else
  115. git commit -m update
  116. fi
  117. git push origin HEAD
  118. }
  119.  
  120. prompt_context() {
  121. if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
  122. prompt_segment black default "%(!.%{%F{yellow}%}.)"
  123. fi
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement