Skip to content
/ zsh Public

My .zshrc with scripts for window title changes, enhanced ls, and prompt color based on hostname

Notifications You must be signed in to change notification settings

rhollister/zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zsh

My .zshrc with scripts for window title changes, enhanced ls, and prompt color based on hostname.

Terminal prompt and title

  1. Terminal title is set to the smartly abbreviated hostname and current directory
  2. Terminal title during execution of a command is set to time of execution and command name
  3. Prompt is set to the hostname and current directory.
  4. Each host is automatically given a unique color determined by hashing the hostname.

Screenshot

Colorized ll

  1. Largest file size is highlighted in blue
  2. Newest file time is highlighted in blue
  3. Today's date in file time is highlighted in blue
  4. Displays age since file was modified

Screenshot

Colorized df

  1. Columns are colorized for easy reading
  2. Disk usage percentages are colored based on critical level (80%, 90%, then 98%)

Screenshot

colortable

  1. Displays list of color names defined in script
  2. Displays table of ANSI color codes

Screenshot

About

My .zshrc with scripts for window title changes, enhanced ls, and prompt color based on hostname

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages