Last active 1746613751

A small zsh/bash/terminal function that shows a note on top of your folder

rune revised this gist 1746613741. Go to revision

1 file changed, 1 insertion, 1 deletion

folder_notes.md

@@ -4,4 +4,4 @@ For this to work you need [eza](https://github.com/eza-community/eza) installed.
4 4 Create a file named `.note` in any folder! Whatever you write will show on the top when your using the `ln` command.
5 5 Remember to `source .zshrc` to make the function active.
6 6
7 - ln() {[ -f .note ] && echo -e "📌 Note: $(cat .note)\n"; command eza -a -lOo "$@";}
7 + `ln() {[ -f .note ] && echo -e "📌 Note: $(cat .note)\n"; command eza -a -lOo "$@";}`

rune revised this gist 1746613722. Go to revision

1 file changed, 7 insertions

folder_notes.md(file created)

@@ -0,0 +1,7 @@
1 + Place this bulk in your .bashrc or .zshrc file (or any other file that is sourced at terminal start.
2 + For this to work you need [eza](https://github.com/eza-community/eza) installed.
3 +
4 + Create a file named `.note` in any folder! Whatever you write will show on the top when your using the `ln` command.
5 + Remember to `source .zshrc` to make the function active.
6 +
7 + ln() {[ -f .note ] && echo -e "📌 Note: $(cat .note)\n"; command eza -a -lOo "$@";}
Newer Older