Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | etc/{bash => sh}/rc: Separate Bash-specific code, remove unused code | EuAndreh | 2022-08-12 | 1 | -341/+0 |
| | |||||
* | mv etc/bash/check.sh etc/sh/check.sh | EuAndreh | 2022-08-12 | 1 | -74/+0 |
| | |||||
* | mv etc/bash/privrc.sh etc/sh/privrc.sh | EuAndreh | 2022-08-12 | 1 | -1/+0 |
| | |||||
* | etc/{bash => sh}/vcs-ps1.sh: Add shell_status_jobs and shell_status_level | EuAndreh | 2022-08-12 | 1 | -171/+0 |
| | |||||
* | etc/bash/rc: Use "-e" instead of "-r" before sourcing files | EuAndreh | 2022-05-16 | 1 | -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 value | EuAndreh | 2022-05-16 | 1 | -1/+1 |
| | |||||
* | etc/bash/rc: manually load $XDG_CONFIG_HOME/guix/current/etc/profile | EuAndreh | 2022-05-16 | 1 | -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 file | EuAndreh | 2022-05-16 | 1 | -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 variables | EuAndreh | 2022-05-16 | 1 | -2/+2 |
| | |||||
* | Use TinyCC as the default value of $CC | EuAndreh | 2022-05-15 | 1 | -1/+1 |
| | |||||
* | etc/bash/rc: Remove FIXME marker from bash-completion handling | EuAndreh | 2022-05-15 | 1 | -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 check | EuAndreh | 2022-05-15 | 1 | -1/+1 |
| | |||||
* | etc/bash/check.sh: Move to the root of the Git directory before running tests | EuAndreh | 2022-05-15 | 1 | -0/+2 |
| | |||||
* | etc/bash/check.sh: Assert clean tilde repositories | EuAndreh | 2022-05-15 | 1 | -1/+13 |
| | |||||
* | etc/bash/rc: Indent v() function body, remove commented code | EuAndreh | 2022-05-15 | 1 | -7/+6 |
| | |||||
* | etc/bash/rc: Move $V_FILES into v() function, use heredocs instead of strings | EuAndreh | 2022-05-15 | 1 | -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 statement | EuAndreh | 2022-05-15 | 1 | -3/+1 |
| | |||||
* | etc/bash/rc: Move stty modification to the end of the file; remove dead "case" | EuAndreh | 2022-05-15 | 1 | -9/+1 |
| | |||||
* | etc/bash/rc: Set $HISTCONTROL variable. | EuAndreh | 2022-05-14 | 1 | -0/+2 |
| | |||||
* | etc/bash/rc: Show pretty tilde path in $V_FILES, in a better order | EuAndreh | 2022-05-14 | 1 | -7/+7 |
| | |||||
* | bin/brightness: Put device information in $BACKLIGHT_DEVICE variable instead ↵ | EuAndreh | 2022-05-14 | 1 | -0/+1 |
| | | | | of file | ||||
* | etc/bash/rc: Link ~/.bashrc to ~/.profile and add set $ENV to ~/.profile | EuAndreh | 2022-05-13 | 1 | -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 history | EuAndreh | 2022-05-13 | 1 | -1/+2 |
| | |||||
* | etc/bash/rc: Replace hardcoded ~/.config paths with $XDG_CONFIG_HOME in ↵ | EuAndreh | 2022-05-13 | 1 | -6/+6 |
| | | | | `v()` function | ||||
* | etc/bash/vcs-ps1.sh: Include `shell_level` in $PS1 variable | EuAndreh | 2022-05-13 | 1 | -1/+14 |
| | |||||
* | etc/bash/check.sh: Add assert for FIXME markers | EuAndreh | 2022-05-12 | 1 | -0/+5 |
| | |||||
* | etc/bash/check.sh: Do not assert loading ~/.profile goes without error | EuAndreh | 2022-05-12 | 1 | -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 function | EuAndreh | 2022-05-12 | 1 | -5/+0 |
| | |||||
* | etc/bash/rc: Setup working version alongside ~/.profile | EuAndreh | 2022-05-12 | 1 | -0/+346 |
| | |||||
* | Move symlink to private files to a relative location | EuAndreh | 2022-05-12 | 1 | -1/+1 |
| | | | | To avoid hardcoding both "/home/andreh" and "dev/private/dotfiles". | ||||
* | Move Git repository into ~/.usr/.git/ | EuAndreh | 2022-05-12 | 4 | -0/+218 |