hi,
I'm just switching to fish from bash and rewriting my configuration files. One
of the command is 

    var=$(dmenu_path | dmenu); exec $var

so I rewrite it to 

    set var (dmenu_path | dmenu); exec $var

but it returns me an error:

    ~> set var (dmenu_path | dmenu); exec $var
    fish: Variables may not be used as commands. Instead, define a function 
    like 'function var; xterm $argv; end'. See the help section for the
    function command by typing 'help function'.



-- 
pozdrawiam,
Piotr Husiatyński

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to