Created
June 16, 2019 16:31
-
-
Save tesu/0458e0ea89ceb7d590c35d2b64830a34 to your computer and use it in GitHub Desktop.
exactly what it says on the tin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
urxvtc -e zsh -c 'LS=""; while [[ 1 ]]; do DIR=$(pwdx '$PPID' |& grep -o "/.*"); if [[ ! $DIR ]]; then break; fi; if [[ $LS != $DIR\n$(ls $DIR) ]]; then LS=$DIR\n$(ls $DIR); clear; echo $DIR; ls $DIR --color=auto -a; fi; done' & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment