RockPaperScissors

LizardSpock

Cshrc Alias Loop

| Comments

Here are some aliased commands which stop line wrapping on really long lines, making the output much more readable:

# Stop line wrapping
alias ll '(tput rmam; ls -lFh  \!*; tput smam)'
alias la '(tput rmam; ls -lAFh \!*; tput smam)'

alias tree '(tput rmam; tree \!*; tput smam)'

In use:

$ tree
Alias loop

The trick is to pre-pend “” to the command

alias tree '(tput rmam; ""tree \!*; tput smam)'

source

Comments