diff options
| -rw-r--r-- | .config/zsh/alias.zsh | 2 | ||||
| -rwxr-xr-x | .local/bin/system-upgrade | 20 | 
2 files changed, 20 insertions, 2 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 18cc325..dd3c1af 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -1,4 +1,4 @@ -alias ls='ls -hGF' +alias ls='ls -lhGF'  alias c='clear'  alias less='less --tabs 4'  alias bc='clear; bc -l' diff --git a/.local/bin/system-upgrade b/.local/bin/system-upgrade index b726f5b..3a53334 100755 --- a/.local/bin/system-upgrade +++ b/.local/bin/system-upgrade @@ -2,4 +2,22 @@  use warnings;  use strict; -use constant LOG_FILE	=> "/var/log/system-upgrade.log"; +use constant LOG_FILE	=> '/var/log/system-upgrade.log'; +use constant { +	DASH_PATH	=> '/usr/local/bin/dash', +}; + +sub shell { +	system( +		DASH_PATH, +		'-c', +		$_[0] +		); +} + +sub main { +	shell("ls -l"); +	exit; +} + +main();  | 
