On 05/03/2016 07:31 PM, Kurtis Rader wrote: > That's because internally fish uses (/bin /usr/bin PREFIX/bin) if $PATH > isn't set. Where PREFIX is whatever directory was given when > `./configure --prefix=xxx` was run; typically /usr/local. See > path_get_path_core in src/path.cpp. That helps keep the shell from being > completely unusable when $PATH isn't set.
Yes, that must be it -- I initially thought it could not be, because fish also found commands I had in ~/bin, but it turns out I was running a self-compiled fish which must have PREFIX=~ set. In the mean time, fish has been installed as a package, but I had not switched to that version yet. > Universal files are stored in ~/.config/fish/fishd.* where the extension > is the MAC address of the primary network interface on your system. You > might want to periodically backup that file via a cron job that runs, > say, every hour and which compares the previous backup to the current > copy and lets you know if they're different. That way you'll have an > idea when it's changing which might help you figure out what is causing > the change. Thank you. I was able to restore my universal variables from an older fishd.* file. (The file is from April 28, I do not think I consciously changed anything since then.) Here is what I found: $ lt .config/fish/fishd* -rw------- 1 assman ag-avp 1157 Jun 10 2015 .config/fish/fishd.ac220bccb50a -rw------- 1 assman ag-avp 1189 Aug 27 2015 .config/fish/fishd.80ee7316d93c -rw------- 1 assman ag-avp 1385 Sep 3 2015 .config/fish/fishd.80ee7316dff2 -rw------- 1 assman ag-avp 6252 Sep 21 2015 .config/fish/fishd.0026183b0208 -rw------- 1 assman ag-avp 1157 Sep 23 2015 .config/fish/fishd.7071bcbcac9f -rw------- 1 assman ag-avp 1157 Oct 17 2015 .config/fish/fishd.f07959dbe069 -rw------- 1 assman ag-avp 1157 Nov 12 20:11 .config/fish/fishd.7071bcbcacaf -rw------- 1 assman ag-avp 1157 Apr 26 10:07 .config/fish/fishd.c4346b580aad -rw------- 1 assman ag-avp 4028 Apr 28 16:24 .config/fish/fishd.7071bcbcaced -rw------- 1 assman ag-avp 1157 May 4 12:55 .config/fish/fishd.3085a9b32314 In the version with size 1157, everything except for some color variables is deleted. I have no idea how that happened, or why those few variables were spared. Elias
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users