|
diff --git a/.shenanigans.sh b/.shenanigans.sh
|
| 1 |
# Software list (Void Linux): |
1 |
# Software list (Void Linux): |
| 2 |
# void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree |
2 |
# void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree |
| 3 |
# file-roller xfce4-screenshooter xsetroot |
3 |
# file-roller xfce4-screenshooter xfce4-plugins xsetroot thunar-archive-plugin |
| 4 |
# clang clang-tools-extra vim stow git curl tmux hstr tree make cmake |
4 |
# clang clang-tools-extra vim stow git curl tmux hstr tree make cmake |
| 5 |
# entr ack lazygit newsboat htop |
5 |
# entr ack lazygit newsboat htop mc |
| 6 |
|
6 |
|
| 7 |
# Only run if the script is being sourced (bashrc). |
7 |
# Only run if the script is being sourced (bashrc). |
| 8 |
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then |
8 |
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then |
| ... |
| 12 |
export VISUAL=vim |
12 |
export VISUAL=vim |
| 13 |
export EDITOR=vim |
13 |
export EDITOR=vim |
| 14 |
|
14 |
|
|
|
15 |
git_branch() { |
|
|
16 |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' |
|
|
17 |
} |
|
|
18 |
|
| 15 |
# Better prompt. |
19 |
# Better prompt. |
| 16 |
export PS1="\n# \u@\h \T \w\n# " |
20 |
export PS1='\n# \u@\h \T \w $(git_branch)\n# ' |
| 17 |
|
21 |
|
| 18 |
# General aliases. |
22 |
# General aliases. |
| 19 |
alias l='ls -lh' |
23 |
alias l='ls -lh' |
| ... |
| 45 |
export HSTR_CONFIG=hicolor |
49 |
export HSTR_CONFIG=hicolor |
| 46 |
if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi |
50 |
if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi |
| 47 |
fi |
51 |
fi |
|
|
52 |
|
|
|
53 |
wow() { |
|
|
54 |
cd ~/Games/turtlewow && ./wow.sh |
|
|
55 |
} |