These are some scripts that make my bash terminal a fun place to be!
Just clone this repo and direct your bashrc to source some scripts
Do these commands, then you'll be good
git clone --recursive https://github.com/ErezBinyamin/dotfiles.git
[ -f ~/.bashrc ] && cp ~/.bashrc ~/.bashrc.bak
printf "
# Dotfiles: https://github.com/ErezBinyamin/dotfiles.git
DOTFILES=${PWD}/dotfiles"'
[ -d ${DOTFILES} ] && source ${DOTFILES}/top.sh || echo "[ERROR] DirectoryNotFound: ${DOTFILES}"
' >> ~/.bashrc
source ~/.bashrc
To learn about more capabilities of this fun repo, use the command:
erez
PS1
Command line components can be toggled ON/OFF to simplify work enviroment. Working Directory component resizes from full path to just current directory to allow for at least 20 chars of free space. Default component options are set in this config file
Autodetect git repository. Show repo name (in unique random color) and current branch name/status.
-
removed a file
+
added a file
*
edited a file
^
need to push
@
in .git directory
Battery life that goes from Green -> yellow -> orange -> red -> blinking red
Prompt is either a shell or a secure shell
- Update gifs/images
- Change
prompt
commad toPS1
it'd be a coool gimmick - Automatically shorten prompt based upon
tput cols
- Create single script that when sourced delivers enviroment. (No for loop in
.bashrc
) - Installer script with dependencies
- Allow configuration of prompt symbols in global config file (outside of prompt dir)
- Allow configuration of commands (eg
${BROWSER}
instead of usingfirefox
) - Do not store information in enviroment variables. Use some other method.
- Maintain emoji branch somehow