Advertisement
fabiobiondi

ZSH config

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