aboutsummaryrefslogtreecommitdiff
path: root/etc/bash (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | of file
* etc/bash/rc: Link ~/.bashrc to ~/.profile and add set $ENV to ~/.profileEuAndreh2022-05-131-0/+2
| | | | | | | | | | | | | | | | | | 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.
* 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 ↵EuAndreh2022-05-131-6/+6
| | | | `v()` function
* 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 errorEuAndreh2022-05-121-2/+0
| | | | | There are files not under my control, such as completion files, that invariably fail the assertion.
* 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 locationEuAndreh2022-05-121-1/+1
| | | | To avoid hardcoding both "/home/andreh" and "dev/private/dotfiles".
* Move Git repository into ~/.usr/.git/EuAndreh2022-05-124-0/+218