One thing I miss from bash world is the ! , short cut for last executed
command.

How would I write a function for something like that ?

On Tue, Oct 23, 2012 at 2:34 AM, Maxim Gonchar <gma...@gmail.com> wrote:

> On Tue, 23 Oct 2012 09:22:48 +0400, Philip Ganchev
> <phil.ganc...@gmail.com> wrote:
>
> > You need to convert each of the Bash commands in your ~/.bashrc script
> > to a Fish command, and put it in your fish initialization script.
> >
> > Instead of 'export', use 'set -U'. Instead of '[', use 'test'. Instead
> > of the 'fi' keyword, use the 'end' keyword. Instead of defining
> > aliases, define functions, using the 'function' built-in. Instead of
> > 'PS1', use 'PROMPT'.
> I think it is better to use 'set -x' instead of export in fish.config.
> Or at least 'set -Ux'.
>
> regards
> Maxim
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to