From 740dc82984ebc5453f0f38167fec34c66669c7e4 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Tue, 19 Oct 2021 20:01:57 -0700 Subject: [PATCH] zsh: add lsx alias I thought I had this one before :thinking_face: --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 2e8b092..0b8361f 100644 --- a/.zshrc +++ b/.zshrc @@ -102,6 +102,9 @@ alias tm='tmux new -As0' # open a new session called 0, but if there is already a session called 0, connect to it + # List avalible X displays. Useful for finding what display to export when connected over ssh. + alias lsx='ls /tmp/.X11-unix | tr "X" ":"' + # Edit config files alias \ nvc='(cd ~/.config/nvim/lua/blake && nvim ../../init.lua)' \