Commit graph

184 commits

Author SHA1 Message Date
b06ab834a5 Make bash output redirection safer 2019-10-29 22:51:27 +01:00
afa328fc06 Remove bashrc support for Apple Terminal
I find myself never really using it...
2019-10-29 20:31:35 +01:00
58ea4980d0 Simplify sending terminal OSC in bashrc 2019-10-29 20:30:20 +01:00
172146a66e Remove unnecessary bash exports
Most of these variables are used only within the shell and don't need to
clutter the environment. The notable exception is MANPATH, which we
explicitly want to export.
2019-10-29 20:13:24 +01:00
16213cf3e1 Simplify showing python virtual env in bash prompt 2019-10-29 18:41:12 +01:00
1850606d1a Avoid polluting env with bashrc iteration variables 2019-10-29 18:30:09 +01:00
2b72adc543 Extract sourcing of bash completion helpers into a function 2019-10-29 18:21:07 +01:00
e6d06f00cb Indent bash PATH additions for readability
We could use ``done<<-EOS'' with tabs to also indent the final EOS but
that would introduce mixed indents in our file. The indentation added by
this commit makes the file readable enough.
2019-10-29 18:14:57 +01:00
b608d71738 Rewrite (and simplify) SSH config 2019-10-28 18:40:18 +01:00
52aa81e0fb Use non-standard port for GitLab SSH access 2019-10-24 12:30:22 +00:00
04701a7511 Remove superfluous user name definition
We already define that connections to `polaris` are done with the user
`fernando`.
2019-10-23 22:04:06 +02:00
1735804869 Add documentation to Bourns specific SSH config 2019-10-23 17:54:54 +02:00
53bd36decd Enable SSH access to git repos from behind firewalls 2019-10-23 17:53:12 +02:00
8771e3a4d0 Update myip alias to work from a VPN 2019-09-18 21:50:42 +02:00
c034066e7a Update (and improve) tmux colors
Some options where renamed in the latest version of tmux (e.g.
window-status-bg -> window-status-style).
2019-09-18 21:47:49 +02:00
a4959d94bd Fix bourns-proxy when using VPN
When using a VPN, DNS traffic (port 53) is routed via the VPN service
and therefore doesn't work to access polaris.
2019-09-18 21:45:50 +02:00
4606150a26 Run bourns-proxy and polaris-proxy simultaneously
Using two different local ports enables us to run both proxies at the
same time.
2019-09-18 18:58:57 +02:00
6a2c6d67e9 Add git-crypt key 2019-06-20 00:47:49 +02:00
c32a0c2ad7 Add --no-folding to stow invocation in README
This is an important option and forgetting it has been causing problems
because entire directories (like .vim) get symlinked and this is
definitely NOT what I want.
2019-06-20 00:39:01 +02:00
b607624d3a Add ssh configuration 2019-06-19 23:18:35 +02:00
cea7f6494f Add python virtual environment to bash prompt 2019-06-18 23:32:59 +02:00
a13e6694d5 Improve tree aliases
- Remove duplication of options
- Add common ignore rules
2019-06-18 17:54:41 +00:00
0b81ef0f68 Add timer alias 2019-06-18 17:29:52 +00:00
d410f51cf8 Improve tree aliases 2019-06-18 17:25:00 +00:00
749982ba90 add myip alias to show public IP address 2019-06-18 17:09:36 +00:00
f56d7756a0 add script for mounting VirtualBox shared folders 2019-06-18 09:46:54 +00:00
6be0568703 user a shorted/clearer name for global .gitignore 2019-06-06 12:01:01 +02:00
20eb03ae0a Minor tweak to tmux status line 2019-02-28 00:28:32 +01:00
95a32c15f9 Use current path for new tmux windows/panes 2019-02-28 00:27:59 +01:00
8d759d75dd improve tmux colors 2019-02-27 21:06:23 +01:00
820ae0ed40 add colortest and tweak foreground/background in light mode 2019-02-27 21:05:44 +01:00
d00e1d6787 organize color definitions 2019-02-27 20:02:52 +01:00
60cc636729 reuse RGB definitions in solarized function 2019-02-27 19:49:14 +01:00
55af22587e define symbolic names for RGB codes 2019-02-27 19:03:26 +01:00
3aa3547616 capitalize color names 2019-02-27 18:32:46 +01:00
080a8d2e2c simplify terminal color customization 2019-02-27 18:31:13 +01:00
48fd7fff4e update colors in tmux before the shell 2019-02-27 18:29:39 +01:00
f5f5d29c40 improve function to check solarized colors 2019-02-27 18:28:28 +01:00
6585f00059 remove the need to separate tmux config files 2019-02-27 02:44:04 +01:00
54f1df3e90 make tmux status line match background color 2019-02-27 02:40:22 +01:00
1c5e7c4e75 Add newline before bash prompt 2019-02-25 23:40:24 +01:00
8da84cdc64 Fix SHLVL in tmux 2019-02-25 23:38:12 +01:00
a13a965961 Fix PATH and MANPATH manipulation in .bashrc 2019-02-25 23:30:50 +01:00
33eac53475 Add bash aliases for tree
Same reasoning as the previous commit for `ls`.
2019-02-25 23:30:19 +01:00
2a6a32e92c Add bash aliases to force ls colored output
This is useful when piping the output of `ls` into `less` or another
pager. However, I added new aliases because making the default ones
force color would cause problems when piping into other commands or
directly to files, since the terminal escape characters would then
clobber the data.
2019-02-24 12:11:51 +01:00
e5e03369c1 Remove unused bash aliases 2019-02-24 11:48:31 +01:00
7966273d6d Make non-zero exit codes more visible 2019-02-19 10:32:11 +01:00
b8ee44b888 Increase number of possible completions without asking
The previous limit of 40 proved to be quite annoying, so I'm going back
to 200 for now.
2019-02-19 09:42:29 +01:00
46efe2b268 Put all dotfiles into one "stow package"
This makes installation a lot easier, as we just need to type:

    stow -v dotfiles

instead of installing multiple packages and risking to forget something.
2019-02-18 23:19:28 +01:00
817735b658 Use bash completions from /usr/etc/bash_completion.d
This way we just add new completion files to this directory instead of
having to add them one by one in .bashrc.
2019-02-18 23:03:43 +01:00