1
0
Fork 0
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:
Starbeamrainbowlabs 2018-01-03 22:40:15 +00:00
parent 4bdf8af294
commit 2a3b98607d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 18 additions and 0 deletions

16
.nanorc Normal file
View 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

View file

@ -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 ~