my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
2.0 KiB

3 years ago
  1. ###########################
  2. # Settings
  3. # These can be overwritten any time.
  4. # If they are not set yet, they will be
  5. # overwritten with their default values
  6. default GREP grep
  7. default ROOT sudo
  8. default WGET wget
  9. default CURL curl
  10. env_default PAGER less
  11. ###########################
  12. # Alias
  13. # CAT, GREP, CURL, WGET
  14. alias y='"$GREP" -Ri'
  15. alias n='"$GREP" -Rvi'
  16. alias f.='find . | "$GREP"'
  17. alias f:='find'
  18. alias f='"$GREP" -Rli'
  19. alias fn='"$GREP" -Rlvi'
  20. alias w='echo >'
  21. alias a='echo >>'
  22. alias c='cat'
  23. alias p='"$PAGER"'
  24. alias m='man'
  25. alias d='"$WGET"'
  26. alias u='"$CURL"'
  27. # enhanced writing
  28. alias w:='cat >'
  29. alias a:='cat >>'
  30. # XARGS
  31. alias x='xargs'
  32. alias xy='xargs "$GREP" -Ri'
  33. alias xn='xargs "$GREP" -Riv'
  34. alias xf.='xargs find | "$GREP"'
  35. alias xf:='xargs find'
  36. alias xf='xargs "$GREP" -Rli'
  37. alias xfn='xargs "$GREP" -Rlvi'
  38. alias xw='xargs echo >'
  39. alias xa='xargs echo >>'
  40. alias xc='xargs cat'
  41. alias xp='xargs "$PAGER"'
  42. alias xm='xargs man'
  43. alias xd='xargs "$WGET"'
  44. alias xu='xargs "$CURL"'
  45. alias xw:='xargs cat >'
  46. alias xa:='xargs >>'
  47. # SUDO
  48. alias s='"$ROOT"'
  49. alias sy='"$ROOT" "$GREP" -Ri'
  50. alias sn='"$ROOT" "$GREP" -Riv'
  51. alias sf.='"$ROOT" find . | "$GREP"'
  52. alias sf:='"$ROOT" find'
  53. alias sf='"$ROOT" "$GREP" -Rli'
  54. alias sfn='"$ROOT" "$GREP" -Rlvi'
  55. alias sw='"$ROOT" echo >'
  56. alias sa='"$ROOT" echo >>'
  57. alias sc='"$ROOT" cat'
  58. alias sp='"$ROOT" "$PAGER"'
  59. alias sm='"$ROOT" man'
  60. alias sd='"$ROOT" "$WGET"'
  61. alias sw:='"$ROOT" cat >'
  62. alias sa:='"$ROOT" cat >>'
  63. # SUDO-XARGS
  64. alias sx='"$ROOT" xargs'
  65. alias sxy='"$ROOT" xargs "$GREP" -Ri'
  66. alias sxn='"$ROOT" xargs "$GREP" -Riv'
  67. alias sxf.='"$ROOT" xargs find | "$GREP"'
  68. alias sxf:='"$ROOT" xargs find'
  69. alias sxf='"$ROOT" xargs "$GREP" -li'
  70. alias sxfn='"$ROOT" xargs "$GREP" -lvi'
  71. alias sxw='"$ROOT" xargs echo >'
  72. alias sxa='"$ROOT" xargs echo >>'
  73. alias sxc='"$ROOT" xargs cat'
  74. alias sxp='"$ROOT" xargs "$PAGER"'
  75. alias sxm='"$ROOT" xargs man'
  76. alias sxd='"$ROOT" xargs "$WGET"'
  77. alias sxu='"$ROOT" xargs "$CURL"'
  78. alias sxw:='"$ROOT" xargs cat >'
  79. alias sxa:='"$ROOT" xargs cat >>'