Guest User

Untitled

a guest
Mar 21st, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. #Affiche l'acronyme BASH
  2.  
  3. echo BASH means Bourne-Again shell !
  4.  
  5. #Afficher le PATH
  6. source /home/pierrick/.bashrc
  7.  
  8. # Set up the prompt
  9.  
  10. autoload -Uz promptinit
  11. promptinit
  12. prompt adam1
  13.  
  14. setopt histignorealldups sharehistory
  15.  
  16. # Use emacs keybindings even if our EDITOR is set to vi
  17. bindkey -e
  18.  
  19. # Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
  20. HISTSIZE=1000
  21. SAVEHIST=1000
  22. HISTFILE=~/.zsh_history
  23.  
  24. #Alias pour afficher la température
  25.  
  26. alias therm="sensors"
  27.  
  28.  
  29. # Use modern completion system
  30. autoload -Uz compinit
  31. compinit
  32.  
  33. zstyle ':completion:*' auto-description 'specify: %d'
  34. zstyle ':completion:*' completer _expand _complete _correct _approximate
  35. zstyle ':completion:*' format 'Completing %d'
  36. zstyle ':completion:*' group-name ''
  37. zstyle ':completion:*' menu select=2
  38. eval "$(dircolors -b)"
  39. zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
  40. zstyle ':completion:*' list-colors ''
  41. zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
  42. zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
  43. zstyle ':completion:*' menu select=long
  44. zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
  45. zstyle ':completion:*' use-compctl false
  46. zstyle ':completion:*' verbose true
  47.  
  48. zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
  49. zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
Add Comment
Please, Sign In to add comment