aboutsummaryrefslogtreecommitdiff
path: root/etc/bash (follow)
Commit message (Expand)AuthorAgeFilesLines
* etc/bash/rc: Move $V_FILES into v() function, use heredocs instead of strings•••Having the $V_FILES variable inside the v() function allows it to be a little bit more dynamic: files manually added to the list while editing the file aren't included as new values without `reload`ing the rc file, but new files created in the ~/Documents/txt/ directory are. EuAndreh2022-05-151-15/+16
* etc/bash/rc(cosmetic): Move comment on extra files into if statementEuAndreh2022-05-151-3/+1
* etc/bash/rc: Move stty modification to the end of the file; remove dead "case"EuAndreh2022-05-151-9/+1
* etc/bash/rc: Set $HISTCONTROL variable.EuAndreh2022-05-141-0/+2
* etc/bash/rc: Show pretty tilde path in $V_FILES, in a better orderEuAndreh2022-05-141-7/+7
* bin/brightness: Put device information in $BACKLIGHT_DEVICE variable instead ...EuAndreh2022-05-141-0/+1
* etc/bash/rc: Link ~/.bashrc to ~/.profile and add set $ENV to ~/.profile•••Make .profile the only configuration file for shells. It concentrates not only environment variables as login files should, but also aliases, functions, etc. Setting $ENV to ~/.profile makes interactive calls to `sh` load this files, and symlinking ~/.bashrc makes interactive calls to `bash` do the same. Ultimately, I find that the separation of environment variables to login files, usually in ~/.bash_profile, to make sense when thinking about user sessions and logins, but not something I benefit from. Staying logged in for multiple days, I modify environment variables that I want to affect my existing and new terminal sessions, and having to do extra work for getting those new values (such as an extra command that sources ~/.profile) isn't interesting to me. EuAndreh2022-05-131-0/+2
* etc/bash/rc: Include `f ...` and `v ...` in shell historyEuAndreh2022-05-131-1/+2
* etc/bash/rc: Replace hardcoded ~/.config paths with $XDG_CONFIG_HOME in `v()`...EuAndreh2022-05-131-6/+6
* etc/bash/vcs-ps1.sh: Include `shell_level` in $PS1 variableEuAndreh2022-05-131-1/+14
* etc/bash/check.sh: Add assert for FIXME markersEuAndreh2022-05-121-0/+5
* etc/bash/check.sh: Do not assert loading ~/.profile goes without error•••There are files not under my control, such as completion files, that invariably fail the assertion. EuAndreh2022-05-121-2/+0
* bin/password: Add executable, a replacement for the genpassword functionEuAndreh2022-05-121-5/+0
* etc/bash/rc: Setup working version alongside ~/.profileEuAndreh2022-05-121-0/+346
* Move symlink to private files to a relative location•••To avoid hardcoding both "/home/andreh" and "dev/private/dotfiles". EuAndreh2022-05-121-1/+1
* Move Git repository into ~/.usr/.git/EuAndreh2022-05-124-0/+218