diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-03-17 14:03:41 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-03-17 14:03:41 -0400 |
| commit | d40c833ea8d95808c09e6463725dfe678f195185 (patch) | |
| tree | 2f01cd24993feb2271bb01109e41fd2bde201500 | |
| parent | b91d869ca5282437ad4e2bf87b43efb826e98fff (diff) | |
| download | dotfiles-d40c833ea8d95808c09e6463725dfe678f195185.tar.gz dotfiles-d40c833ea8d95808c09e6463725dfe678f195185.tar.xz | |
Add a docker inspect alias and update my "net_nocaps" xkbmap adjustment function
| -rw-r--r-- | mkshrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -140,6 +140,8 @@ setaliases() { alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'" alias setxkbmap-list="man xkeyboard-config" alias showsshhosts="cat ~/.ssh/config ~/.ssh/inc/* | awk '/^[hH]ost /{print \$2}'" + # docker-getip $container_id + alias docker-getip="docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'" alias xa='xargs -I{}' alias gdb='gdb -q' alias bc='bc -q' @@ -262,8 +264,11 @@ pulltermcolors() { chmod +x $file } set_nocaps() { + setxkbmap -layout "us,de" setxkbmap -option ctrl:nocaps setxkbmap -option shift:breaks_caps + setxkbmap -option numpad:microsoft + setxkbmap -option grp:alt_space_toggle } set_go() { export GOPATH="${GOPATH:-$HOME/go}" |
