Pierre Neidhardt
8f384c3d3f
scripts: Lint all scripts
2016-06-23 23:18:36 +02:00
Pierre Neidhardt
9857145fb1
scripts: Reformat with tabs and more consistent style
2014-11-12 16:15:39 +01:00
Pierre Neidhardt
c55236c71d
Scripts: removed bashism from getops and secured cd with --.
2014-02-10 15:05:27 +01:00
Pierre Neidhardt
9233dad745
Script+Shell: fixed and standardize PATH checking
...
We redirect stderr to NULL since POSIX says it may be used (no modern shell
seems to be using it).
If more than 1 program is checked for availability, we use a function.
Emacs snippet make it uniform.
Error message is output on stderr and is always the same.
2014-01-03 19:13:07 +01:00
Pierre Neidhardt
c934c97d13
Scripts: rewrote all "command -v" properly.
2013-10-27 19:50:23 +01:00
Pierre Neidhardt
a7bbda07de
pacman-* scripts: proper argument parsing
2013-10-23 11:24:32 +02:00
Pierre Neidhardt
ea81531077
Shell/Scripts: moved all useful functions (for whom it makes sense to call them
...
from Emacs or Ranger) to separate scripts.
2013-03-03 11:19:50 +01:00
Pierre Neidhardt
9db5273018
Shell: big move from functions to separate scripts. Pacman functions only for
...
the moment.
2013-03-02 23:00:38 +01:00