aboutsummaryrefslogtreecommitdiff
path: root/etc/bash (follow)
Commit message (Collapse)AuthorAgeFilesLines
* etc/{bash => sh}/rc: Separate Bash-specific code, remove unused codeEuAndreh2022-08-121-341/+0
|
* mv etc/bash/check.sh etc/sh/check.shEuAndreh2022-08-121-74/+0
|
* mv etc/bash/privrc.sh etc/sh/privrc.shEuAndreh2022-08-121-1/+0
|
* etc/{bash => sh}/vcs-ps1.sh: Add shell_status_jobs and shell_status_levelEuAndreh2022-08-121-171/+0
|
* etc/bash/rc: Use "-e" instead of "-r" before sourcing filesEuAndreh2022-05-161-2/+2
| | | | | | 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.
* 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/profileEuAndreh2022-05-161-1/+5
| | | | | Guix sources the hardcoded ~/.config/guix/current in /etc/profile, so my custom path needs to be loaded manually.
* etc/bash/rc: Don't source /etc/bashrc from user fileEuAndreh2022-05-161-3/+0
| | | | Let this file be soruced by /etc/* files, or not be sourced at all.
* etc/bash/vcs-ps1.sh: Better checking of empty shell variablesEuAndreh2022-05-161-2/+2
|
* Use TinyCC as the default value of $CCEuAndreh2022-05-151-1/+1
|
* etc/bash/rc: Remove FIXME marker from bash-completion handlingEuAndreh2022-05-151-6/+9
| | | | | | | | 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.
* etc/bash/check.sh: Exclude the file from FIXME checkEuAndreh2022-05-151-1/+1
|
* etc/bash/check.sh: Move to the root of the Git directory before running testsEuAndreh2022-05-151-0/+2
|
* etc/bash/check.sh: Assert clean tilde repositoriesEuAndreh2022-05-151-1/+13
|
* 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 stringsEuAndreh2022-05-151-15/+16
| | | | | | | 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.
* 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
| | | | 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