mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: make script work a little better
meow
This commit is contained in:
parent
8863656078
commit
b309426744
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
NOTEDIR="$HOME/Notes"
|
NOTEDIR="$HOME/Notes"
|
||||||
|
|
||||||
CHOSEN=$(find "$HOME/Notes" -follow | grep -E '.md$' | bemenu -l 10)
|
CHOSEN=$(find "$HOME/Notes" -follow | grep -E '.md$' | bemenu -l 10 --ignorecase)
|
||||||
|
|
||||||
cd "$NOTEDIR" || mkdir -p "$NOTEDIR" && cd "$NOTEDIR" || echo 'Error with moving into directory, is "$NOTEDIR" set?' # Change dir to notes dir, if it doesn't exist, create it and try again. Otherwise it should just die, I guess?
|
cd "$NOTEDIR" || mkdir -p "$NOTEDIR" && cd "$NOTEDIR" || echo 'Error with moving into directory, is "$NOTEDIR" set?' # Change dir to notes dir, if it doesn't exist, create it and try again. Otherwise it should just die, I guess?
|
||||||
echo "Check if connected to internet and pull changes from Git"
|
echo "Check if connected to internet and pull changes from Git"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue