Bash rc
This commit is contained in:
parent
df9e5ac077
commit
39a63ad836
|
@ -6,5 +6,5 @@ command -v fish >/dev/null 2>&1 && grep fish /etc/shells >/dev/null 2>&1 && {
|
||||||
echo " You may want to run 'chsh' and set your shell to $(grep fish /etc/shells | head -n1)'."
|
echo " You may want to run 'chsh' and set your shell to $(grep fish /etc/shells | head -n1)'."
|
||||||
echo " Once that's done, simply run 'fish'."
|
echo " Once that's done, simply run 'fish'."
|
||||||
echo " You can also try fish temporarily by running 'fish'. No 'chsh' commitment required."
|
echo " You can also try fish temporarily by running 'fish'. No 'chsh' commitment required."
|
||||||
echo " If you're in bash for intentionally for some reason, then ignore this message."
|
echo " If you're in bash intentionally for some reason, then ignore this message."
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,5 +13,7 @@ app="$(
|
||||||
grep "\S" | \
|
grep "\S" | \
|
||||||
fzf
|
fzf
|
||||||
)"
|
)"
|
||||||
|
# if no app is selected, just exit
|
||||||
|
test -z "$app" && exit 1
|
||||||
echo "$app $(date +%s)" >> "$LAUNCHER_HISTORY_FILE"
|
echo "$app $(date +%s)" >> "$LAUNCHER_HISTORY_FILE"
|
||||||
echo "$app"
|
echo "$app"
|
||||||
|
|
Reference in a new issue