Fish - The friendly interactive shell
Posted May 20, 2005 15:25 UTC (Fri) by liljencrantz
In reply to: Fish - The friendly interactive shell
Parent article: Fish - The friendly interactive shell
Hi. Glad you like fish.
1) Actually the exact opposite is happening. If the parameter '*.txt' does not match any files, it is expanded to exactly 0 parameters. In other words, you end up running ls with _no_ parameters, in which case ls will list the contents of the current directory.
2) I think you are referring to another .desktop file. The name overloading in Linux is pretty confusing. The .desktop files I'm referring to is a file hierarchy usually located somewhere under /usr/share.
Try using the mimedb command. If the command 'mimedb foo.txt' returns 'text/plain', the mime database is installed correctly. If 'mimedb -i text/plain -a' returns something like 'gedit %U', the mimedb command can find the .desktop files. Both of these are needed for the open command to work.
to post comments)