Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2815

Where Fish Shell Contains own Aliases (functions) Files

$
0
0

I use Windows Linux Subsystem build on Ubuntu 14.04 in Windows 10.

➜ User lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription:    Ubuntu 14.04.5 LTSRelease:        14.04Codename:       trusty

I install Fish using:

sudo apt-add-repository ppa:fish-shell/release-2sudo apt-get updatesudo apt-get install fish

and oh-my-fish using:

curl -L http://get.oh-my.fish | fish

and all works fine, but I have a problem with understand aliases (functions) in fish shell.

After install fish and oh-my-fish I replace default bash shell with it. Now for example when I use ls command in terminal it execute ls as fish alias (or fish function).

I understand that I can see how this function is implemented using:

functions ls

and in this case I have output:

function ls --description 'List contents of directory'        set -l param --color=auto        if isatty 1            set param $param --indicator-style=classify        end        command ls $param $argvend

and I understand that I can use ubuntu default ls command using command ls or builtin ls commands.

Now I need to find location of fish functions file in which implemented this ls alias and other fish aliases (functions).

All list here http://pastebin.com/pSenBfWS. I get this list using functions -n command (https://fishshell.com/docs/current/commands.html#functions).

If briefly, my question is: "Where fish functions files in Ubuntu 14.04?"

I have fish version 2.5.0


Viewing all articles
Browse latest Browse all 2815

Trending Articles