0 Replies - 17968 Views - Last Post: 16 November 2013 - 02:53 AM

#1 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon


Reputation: 1439
  • View blog
  • Posts: 3,609
  • Joined: 28-November 09

ZSH Global Alias

Posted 16 November 2013 - 02:53 AM

Description: Put in your .profile or rc files. This will only work in ZSH, download it now if you haven't already. ls G 'something' ls M cd www_dir cd dev_dirA global alias will be replaced no matter where it's at. What can we do with that? Well, these can give you some ideas.
alias -g G="| grep"
alias -g M="| more"
alias -g www_dir="/var/www/"
alias -g dev_dir="~/development"

Is This A Good Question/Topic? 0
  • +

Page 1 of 1