Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. # .bashrc
  2.  
  3. # Source global definitions
  4. if [ -f /etc/bashrc ]; then
  5. . /etc/bashrc
  6. fi
  7.  
  8. # Uncomment the following line if you don't like systemctl's auto-paging feature:
  9. # export SYSTEMD_PAGER=
  10.  
  11. # User specific aliases and functions
  12. export TMOUT=9000
  13. export TERM=screen-256color
  14. PS1='\[\033[01;32m\]\u@\[\033[31m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ '
  15.  
  16.  
  17. _alias_save() {
  18. alias |grep "alias ${1?}=" >> ~/.bashrc
  19. }
  20.  
  21. alias vim-bashrc='vim ~/.bashrc'
  22. alias an=ansible
  23. alias anb='ansible -b'
  24. alias anp='ansible -m ping'
  25. alias rebash='exec bash'
  26. alias ll='ls -la --color=auto'
  27. alias alias-save='_alias_save'
  28. alias mc='. /usr/libexec/mc/mc-wrapper.sh -S sand256'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement