FILE=$(find -type f -maxdepth 5 | dmenu -c -i -l 10 -p "path to open")
FILE=$(find -maxdepth 5 -type f | dmenu -c -i -l 10 -p "path to open")
# try to execute
./"$FILE"&
if [[ $? == 1 ]]; then
if ( ./"$FILE" ); then
exit
else
xdg-open "$FILE"
fi
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.