From 3127de63fa9cb87fdbb42b22f552cc0b0c1cc265 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Mon, 13 Jan 2020 14:20:44 -0500 Subject: [PATCH] Added alias for the most recent file. Useful for things like `tail -f $(ls)`. --- zsh/modules/alias/init.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/modules/alias/init.zsh b/zsh/modules/alias/init.zsh index 4cfa6b6..6ad551b 100644 --- a/zsh/modules/alias/init.zsh +++ b/zsh/modules/alias/init.zsh @@ -8,6 +8,8 @@ alias ls="ls $color_flag" alias l="ls -lh $color_flag" alias la="ls -lha $color_flag" +alias lf="ls -1tr | tail -n 1" + alias docker="sudo docker" alias dc="sudo docker-compose"