Open krissrex opened 8 months ago
to uninstall, rm $__fish_config_dir/conf.d/linuxify.fish
will remove the set
statements.
However, the fish_add_path
must be removed some other way. These are added to the $fish_user_paths
array env, which is a "universal variable" and persisted to ~/.config/fish/fish_variables
.
Alternatively, I could use --path
and echo all these to the conf.d/.linxify.fish
as well.
Just realised the set -l BREW_HOME (brew --prefix)
will not get baked into echo 'set -gx MANPATH "$BREW_HOME/share/man" ...
, so the script will just set /share/man
when it runs. Got to fix that.
Edit: fixed
I also believe /opt/homebrew/opt/findutils/libexec/man
is missing. Without it, you get the default manpage for xargs
(unless you do man gxargs
).
Edit: fixed
I tried porting the
.linuxify
to a script you run once withsource .linuxify.fish
.CPPFLAGS
andLDFLAGS
are set several times, overwriting the previous. Is this wrong?man xargs
doesn't work whenMANPATH
is set. I think/usr/share/man
is missing. When manpath is set, the default folders are no longer checked. The file/private/etc/manpaths
contains the paths to use. I added those