Added ~/.staff_sym emoji, and some docs to the README

This commit is contained in:
Nathan Broadbent
2018-09-24 18:06:23 +07:00
parent 83467edac0
commit 5530e693b3
3 changed files with 28 additions and 1 deletions

View File

@@ -350,6 +350,22 @@ as `gs` for the extended `git status`, and `ga` for the `git add` function.
If you already have an alias like `alias gco="git checkout"`, you can now type
`gco 1` to checkout the first file in the output of SCM Breeze's `git status`.
## Custom emojis for username and "staff" group
The `ll` command adds numbered shortcuts to files, but another fun feature is replacing your
username and the "staff" group with custom emojis:
![Custom user and staff emojis](/docs/images/custom_user_and_staff_symbols.jpg)
Set your own emojis by running:
```bash
echo 🍀 > ~/.user_sym
echo 🖥 > ~/.staff_sym
```
I also like using `~/.user_sym` [in my Bash prompt](https://github.com/ndbroadbent/dotfiles/blob/master/bashrc/prompt.sh#L71).
## Notes about Tab Completion for Aliases