Facebook
From Speedy Pheasant, 2 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 225
  1. [observer@polet ~]$ cat .zshrcbkp
  2. # If you come from bash you might have to change your $PATH.
  3. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  4.  
  5. # Path to your oh-my-zsh installation.
  6. export ZSH="/home/observer/.oh-my-zsh"
  7. export EDITOR=vim
  8. # Set name of the theme to load --- if set to "random", it will
  9. # load a random theme each time oh-my-zsh is loaded, in which case,
  10. # to know which specific one was loaded, run: echo $RANDOM_THEME
  11. # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
  12. ZSH_THEME="duellj"
  13.  
  14. # Set list of themes to pick from when loading at random
  15. # Setting this variable when ZSH_THEME=random will cause zsh to load
  16. # a theme from this variable instead of looking in $ZSH/themes/
  17. # If set to an empty array, this variable will have no effect.
  18. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  19.  
  20. # Uncomment the following line to use case-sensitive completion.
  21. # CASE_SENSITIVE="true"
  22.  
  23. # Uncomment the following line to use hyphen-insensitive completion.
  24. # Case-sensitive completion must be off. _ and - will be interchangeable.
  25. # HYPHEN_INSENSITIVE="true"
  26.  
  27. # Uncomment one of the following lines to change the auto-update behavior
  28. # zstyle ':omz:update' mode disabled  # disable automatic updates
  29. # zstyle ':omz:update' mode auto      # update automatically without asking
  30. # zstyle ':omz:update' mode reminder  # just remind me to update when it's time
  31.  
  32. # Uncomment the following line to change how often to auto-update (in days).
  33. # zstyle ':omz:update' frequency 13
  34.  
  35. # Uncomment the following line if pasting URLs and other text is messed up.
  36. # DISABLE_MAGIC_FUNCTIONS="true"
  37.  
  38. # Uncomment the following line to disable colors in ls.
  39. # DISABLE_LS_COLORS="true"
  40.  
  41. # Uncomment the following line to disable auto-setting terminal title.
  42. # DISABLE_AUTO_TITLE="true"
  43.  
  44. # Uncomment the following line to enable command auto-correction.
  45. # ENABLE_CORRECTION="true"
  46.  
  47. # Uncomment the following line to display red dots whilst waiting for completion.
  48. # You can also set it to another string to have that shown instead of the default red dots.
  49. # e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
  50. # Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
  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 $ZSH/plugins/
  71. # Custom plugins may be added to $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. zsh-syntax-highlighting
  76. zsh-autosuggestions
  77. sudo)
  78.  
  79.  
  80.  
  81. source $ZSH/oh-my-zsh.sh
  82.  
  83. # User configuration
  84.  
  85. # export MANPATH="/usr/local/man:$MANPATH"
  86.  
  87. # You may need to manually set your language environment
  88. # export LANG=en_US.UTF-8
  89.  
  90. # Preferred editor for local and remote sessions
  91.  if [[ -n $SSH_CONNECTION ]]; then
  92.    export EDITOR='vim'
  93.    #telegram-send --format markdown "User $USER logged in *POLET* via SSH at $(date) from $SSH_CONNECTION"
  94.  else
  95.    export EDITOR='vim'
  96.  fi
  97.  
  98. # Compilation flags
  99. # export ARCHFLAGS="-arch x86_64"
  100.  
  101. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  102. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  103. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  104. # For a full list of active aliases, run `alias`.
  105. #
  106. # Example aliases
  107. # alias zshconfig="mate ~/.zshrc"
  108. # alias ohmyzsh="mate ~/.oh-my-zsh"
  109. alias ls='ls -lp --color=auto'
  110. alias pacman='sudo pacman -Syu'
  111.  
  112.  
  113. #Autostart tmux server on ssh login
  114.