mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
Add nanorc to bin
This commit is contained in:
parent
4bdf8af294
commit
2a3b98607d
2 changed files with 18 additions and 0 deletions
16
.nanorc
Normal file
16
.nanorc
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Custom .nanorc file
|
||||||
|
# Written by @Starbeamrainbowlabs
|
||||||
|
|
||||||
|
# Soft-wrap lines (don't _actually_ auto-wrap lines - that would be really annoying!)
|
||||||
|
set softwrap
|
||||||
|
|
||||||
|
# 8 is way too wide. Seriously. Why is it even the default?
|
||||||
|
set tabsize 4
|
||||||
|
|
||||||
|
## Paint the interface elements of nano.
|
||||||
|
## This is an example; by default there are no colors.
|
||||||
|
set titlecolor brightwhite,blue
|
||||||
|
set statuscolor brightwhite,green
|
||||||
|
set keycolor green
|
||||||
|
set functioncolor yellow
|
||||||
|
|
2
envsetup
2
envsetup
|
@ -5,10 +5,12 @@ BIN_DIR=$(pwd)
|
||||||
mv ~/.bashrc ~/.bashrc.bak
|
mv ~/.bashrc ~/.bashrc.bak
|
||||||
mv ~/.bash_aliases ~/.bash_aliases.bak
|
mv ~/.bash_aliases ~/.bash_aliases.bak
|
||||||
mv ~/.hh_favourites ~/.hh_favourites.bak
|
mv ~/.hh_favourites ~/.hh_favourites.bak
|
||||||
|
mv ~/.nanorc ~/.nanorc.bak
|
||||||
# Link to the new ones
|
# Link to the new ones
|
||||||
ln -s ${BIN_DIR}/.bashrc ~/.bashrc
|
ln -s ${BIN_DIR}/.bashrc ~/.bashrc
|
||||||
ln -s ${BIN_DIR}/.bash_aliases ~/.bash_aliases
|
ln -s ${BIN_DIR}/.bash_aliases ~/.bash_aliases
|
||||||
ln -s ${BIN_DIR}/.hh_favorites ~/.hh_favorites
|
ln -s ${BIN_DIR}/.hh_favorites ~/.hh_favorites
|
||||||
|
ln -s ${BIN_DIR}/.nanorc ~/.nanorc
|
||||||
# Copy the bash host file into place
|
# Copy the bash host file into place
|
||||||
cp ${BIN_DIR}/.bash_host ~
|
cp ${BIN_DIR}/.bash_host ~
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue