Skip to content

Instantly share code, notes, and snippets.

@rjhilgefort
Last active February 7, 2023 16:22

Revisions

  1. rjhilgefort revised this gist Sep 28, 2018. No changes.
  2. rjhilgefort revised this gist Sep 28, 2018. No changes.
  3. rjhilgefort revised this gist Sep 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #
    # Enable tab completion of flags
    source $(dirname $(gem which colorls))/tab_complete.sh

    # Move standard ls
  4. rjhilgefort revised this gist Sep 28, 2018. 2 changed files with 4 additions and 3 deletions.
    4 changes: 3 additions & 1 deletion colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    ### colorls - https://github.com/athityakumar/colorls
    #
    source $(dirname $(gem which colorls))/tab_complete.sh

    # Move standard ls
    alias ols="ls"
    # Base formats
    3 changes: 1 addition & 2 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,2 @@
    # https://github.com/athityakumar/colorls#installation
    sudo gem install colorls

    sudo gem install colorls
  5. rjhilgefort revised this gist Sep 28, 2018. 2 changed files with 3 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@


    ### colorls - https://github.com/athityakumar/colorls
    # Move standard ls
    alias ols="ls"
    3 changes: 3 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # https://github.com/athityakumar/colorls#installation
    sudo gem install colorls

  6. rjhilgefort revised this gist Sep 28, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@


    ### colorls - https://github.com/athityakumar/colorls
    # Move standard ls
    alias ols="ls"
  7. rjhilgefort revised this gist Sep 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ alias ols="ls"
    # Base formats
    alias ls="colorls -A" # short, multi-line
    alias ll="colorls -1A" # list, 1 per line
    alias ld="ll" # ^^^, NOTE: Trying to move to this for alternate hand
    alias ld="ll" # ^^^, NOTE: Trying to move to this for alternate hand commands
    alias la="colorls -lA" # list w/ info
    # [d] Sort output with directories first
    alias lsd="ls --sort-dirs"
  8. rjhilgefort revised this gist Sep 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ alias ols="ls"
    # Base formats
    alias ls="colorls -A" # short, multi-line
    alias ll="colorls -1A" # list, 1 per line
    alias ld="ll" # ^&, NOTE: Trying to move to this for alternate hands
    alias ld="ll" # ^^^, NOTE: Trying to move to this for alternate hand
    alias la="colorls -lA" # list w/ info
    # [d] Sort output with directories first
    alias lsd="ls --sort-dirs"
  9. rjhilgefort revised this gist Sep 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ alias ols="ls"
    # Base formats
    alias ls="colorls -A" # short, multi-line
    alias ll="colorls -1A" # list, 1 per line
    alias ld="ll" # ^, NOTE: Trying to move to this for alternate hands
    alias ld="ll" # ^&, NOTE: Trying to move to this for alternate hands
    alias la="colorls -lA" # list w/ info
    # [d] Sort output with directories first
    alias lsd="ls --sort-dirs"
  10. rjhilgefort revised this gist Sep 28, 2018. 1 changed file with 23 additions and 1 deletion.
    24 changes: 23 additions & 1 deletion colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,23 @@
    _
    ### colorls - https://github.com/athityakumar/colorls
    # Move standard ls
    alias ols="ls"
    # Base formats
    alias ls="colorls -A" # short, multi-line
    alias ll="colorls -1A" # list, 1 per line
    alias ld="ll" # ^, NOTE: Trying to move to this for alternate hands
    alias la="colorls -lA" # list w/ info
    # [d] Sort output with directories first
    alias lsd="ls --sort-dirs"
    alias lld="ll --sort-dirs"
    alias ldd="ld --sort-dirs"
    alias lad="la --sort-dirs"
    # [t] Sort output with recent modified first
    alias lst="ls -t"
    alias llt="ll -t"
    alias ldt="ld -t"
    alias lat="la -t"
    # [g] Add git status of each item in output
    alias lsg="ls --git-status"
    alias llg="ll --git-status"
    alias ldg="ld --git-status"
    alias lag="la --git-status"
  11. rjhilgefort created this gist Sep 28, 2018.
    1 change: 1 addition & 0 deletions colorls-alias.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    _