You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.. | ||
config | 1 year ago | |
scripts | 1 year ago | |
wsl | 1 year ago | |
README.md | 1 year ago |
README.md
Bash
Config
config/*
contains code that's symlinked to from ~
.
If you create additional ~/.bashrc.d/*
or ~/.profile.d/*
files, they will also be run when sourcing ~/.bashrc
or ~/.profile
, respectively. This can be used for additional commands that shouldn't be checked into this repo.
Scripts
2link.sh
- create relative symlinks to files or directories from given directory2path.sh
- create symlinks to files or directories from~/.local/bin
, giving unique names to directoriessyncfiles.sh
- given paths to two or more files, prompt to copy the newest one over each of the ones it differs from
Optional WSL scripts
wsl/*.bashrc
- scripts to be symlinked to from~/.bashrc.d/*
for optional WSL-specific enhancements
Adding color to root user shells
Add this to /etc/bash.bashrc
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
eval $(dircolors --sh)
alias ls='ls --color=auto'