Browse Source

shell ls aliases to sh_runout -n ls ...

master
Julian Noble 2 years ago
parent
commit
9e5d9d65a1
  1. 9
      src/modules/punk-0.1.tm

9
src/modules/punk-0.1.tm

@ -515,9 +515,12 @@ namespace eval punk {
interp alias {} gconf {} git config --global -l interp alias {} gconf {} git config --global -l
#---------------------------------------------- #----------------------------------------------
interp alias {} l {} ls -aFC ;#wide listing () interp alias {} l {} sh_runout -n ls -A ;#plain text listing
interp alias {} ll {} ls -laFo --color=always interp alias {} ls {} sh_runout -n ls -AF --color=always
interp alias {} lw {} ls -aFv --color=always interp alias {} lw {} sh_runout -n ls -AFC --color=always ;#wide listing (use A becaus no extra info on . & ..)
interp alias {} ll {} sh_runout -n ls -laFo --color=always ;#use a instead of A to see perms/owner of . & ..
# -v for natural number sorting not supported on freeBSD. Todo - test at startup and modify aliases?
#interp alias {} lw {} ls -aFv --color=always
interp alias {} ./ {} punk::./ interp alias {} ./ {} punk::./
interp alias {} ../ {} punk::../ interp alias {} ../ {} punk::../
if {$::tcl_platform(platform) eq "windows"} { if {$::tcl_platform(platform) eq "windows"} {

Loading…
Cancel
Save