These are configuration files for fish
and an "ideal" terminal setup
according to my needs. What comes with what I like? A nice looking terminal
—which the prompt pure
will provide— and good-enough configurations.
This repository comes with a simple install.sh
script that as the name says
so it'll take care of installing the required packages in macOS
with brew
or in a linux distro that has either: apt
, apk
, xbps-install
or pacman
(in which case it'll install yay
and use that to install things, using AURs
if needed).
Clone into your terminal:
foo@bar:~$ git clone git://github.com/nrxr/fishfiles.git \
~/code/src/github.com/nrxr/fishfiles
Have an interpreter for sh
.
Run on a sh-compatible terminal:
foo@bar:~$ ./install.sh
This will install (hopefully) rcm
if you don't have it and then configure
everything with it using the tag fish
.
If you want to update, then pull from the git repository and run the
install.sh
script again.
-
fish
-
set of basic envs on
~/.config/fish/envs
:set -x EDITOR 'nvim' set -x TERM 'xterm-256color-italic' set -x PAGER 'less -r' set -x GO111MODULE on
-
support for private envs in
~/.config/fish/private
, it expects them in thefish
fashion soset -Ux NAME 'value'
. Values I save there are things likeGOPRIVATE
and such. -
support for private envs based on current directory in
~/.config/fish/private_variable_dirs
. Example:set --erase NPM_TOKEN if string match -q --regex 'code\/src\/github\.com\/nrxr' $PWD set -gx NPM_TOKEN a-valid-token end
rcup -d $HOME/code/src/github.com/nrxr/fishfiles \
-v -t fish \
-x README*.md -x LICENSE -x pre-setup.sh -x install.sh
Copyright © 2019-2024, nrxr <legal@nrxr.org>
.
This software is distributed under the terms of the MIT license.
See LICENSE for details.