More misc. changes

This commit is contained in:
Horseshoe Crab 2021-07-02 18:39:37 -07:00
parent 3c263a9aff
commit 266533c9e8
6 changed files with 20 additions and 8 deletions

View File

@ -38,6 +38,7 @@ PATH="$PATH:/usr/local/games:/usr/games" # base
if [ "$hostname" = "foundryside" ]; then
PATH="$PATH:$HOME/bin" # my own secret sauce
PATH="$PATH:$HOME/bin/jdk-11.0.10+9/bin" # JavaTM
PATH="$PATH:$HOME/bin/android-studio/bin" # Android Studio
PATH="$PATH:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" # BS
fi
export PATH
@ -129,6 +130,8 @@ alias vimrc="$EDITOR ~/.vimrc"
alias nanorc="nano ~/.config/nano/nanorc" # just for fun!
alias spellcheck='aspell check '
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m' "
alias iso-date='date --iso-8601=s '
not_in_vim="echo -e \"You're not in vim doofus!\""
alias :wq="$not_in_vim" ; alias :q="$not_in_vim" ; alias :x="$not_in_vim"
alias ZZ="$not_in_vim"

View File

@ -295,7 +295,7 @@ mouse:
# If this is `true`, the cursor is temporarily hidden when typing.
hide_when_typing: false
url:
# url:
# URL launcher
#
# This program is executed when clicking on a text which is recognized as a URL.
@ -307,8 +307,8 @@ mouse:
# - (macOS) open
# - (Linux) xdg-open
# - (Windows) explorer
launcher:
program: None
# launcher:
# program: None
# program: xdg-open
# args: []
@ -316,7 +316,7 @@ mouse:
#
# These are the modifiers that need to be held down for opening URLs when clicking
# on them. The available modifiers are documented in the key binding section.
modifiers: None
# modifiers: None
selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>"

View File

@ -380,12 +380,17 @@ map gh cd ~
map ge cd /etc
map gu cd /usr
map gd cd ~/Documents
map gw cd ~/Desktop/class-workspace
map gdp cd ~/Documents/Personal
map gdw cd ~/Documents/Professional
map g77 cd ~/73h4x
map g7c cd ~/73h4x/code
map g7d cd ~/73h4x/dotfiles
map g7n cd ~/73h4x/notes
map g7p cd ~/73h4x/projects
map gll cd ~/Library
map gla cd ~/Library/Audio
map gli cd ~/Library/Images
map glt cd ~/Library/Textfiles
map glv cd ~/Library/Video
map gL cd -r %f
map go cd /opt

2
.gitignore vendored
View File

@ -11,6 +11,8 @@ st-*
.ssh
etc
# directories to ignore
bin/jdk-11*
bin/ghidra*
bin/android-studio*

View File

@ -124,8 +124,8 @@ while [[ "$#" -gt 0 ]]; do
-c|--connect)
profile="$2"
if [ "$profile" = "" ]; then
echo -ne "$(basename $0): -c, --connect take an argument " \
"'profile_name'\n\n"
echo -ne "$(basename $0): -c, --connect takes an argument " \
"'profile_name'\n\n"
print_usage
else
sudo_validate

View File

@ -22,7 +22,9 @@ x1phosura="
exists_truecolor='true' # TODO: detect if have truecolor support
fg_purple_true="\x1b[38;2;156;39;176m" # foreground is RGB 156,39,176 (#9C27B0)
# vvv- original:
#fg_purple_true="\x1b[38;2;156;39;176m" # foreground is RGB 156,39,176 (#9C27B0)
fg_purple_true="\x1b[38;2;187;34;187m" # foreground is RGB 187,34,187 (#bb22bb)
bg_black_true="\x1b[48;2;0;0;0m" # background is black
fg_purple_16="\033[01;35m" # foreground is boring bold purple
ansi_bold="\033[1m"