aboutsummaryrefslogtreecommitdiff
path: root/etc/bash/rc (follow)
Commit message (Expand)AuthorAgeFilesLines
* etc/bash/rc: Use "-e" instead of "-r" before sourcing files•••I previously had the impression that "-r" tested for a "readable file", when it actually works on directories too. So I'm sticking to the more general "-e" instead. EuAndreh2022-05-161-2/+2
* etc/bash/rc: explicitly set $HISTSIZE to -1 to represent the infinite valueEuAndreh2022-05-161-1/+1
* etc/bash/rc: manually load $XDG_CONFIG_HOME/guix/current/etc/profile•••Guix sources the hardcoded ~/.config/guix/current in /etc/profile, so my custom path needs to be loaded manually. EuAndreh2022-05-161-1/+5
* etc/bash/rc: Don't source /etc/bashrc from user file•••Let this file be soruced by /etc/* files, or not be sourced at all. EuAndreh2022-05-161-3/+0
* Use TinyCC as the default value of $CCEuAndreh2022-05-151-1/+1
* etc/bash/rc: Remove FIXME marker from bash-completion handling•••Moved to help-guix@gnu.org. See <165265271797.19845.1907620860408175547@localhost>. Also, only load completion files when running interactively, as there is no way to make that code behave, it's totally out of my control. EuAndreh2022-05-151-6/+9
* etc/bash/rc: Indent v() function body, remove commented codeEuAndreh2022-05-151-7/+6
* 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
* 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