aboutsummaryrefslogtreecommitdiff
path: root/home/.bashrc
Commit message (Collapse)AuthorAgeFilesLines
* Modify `alias ls=exa ...` in `dotfiles/home/.bashrc`Mountain Man2023-04-061-1/+1
| | | | | Add git directory info and date-modified to the `alias ls=exa ...`, and group directories together at the top of the list.
* Switch to 72-char limits instead of 74Mountain Man2023-04-031-7/+7
| | | | | Modify `dotfiles/home/.nanorc` to wrap at 72 chars, and update the formatting of other files.
* Add git branch to `$PS1` in `dotfiles/home/.bashrc`MountainMan2023-04-021-3/+8
| | | | | | | | It's nice to see which branch you're in at-a-glance. This change makes it so that, if you are in a git repo, the `$PS1` displays which branch is active. If not, it is reduced to a single space. I would like to find a way to conditionally add a space between (BRANCH) and DIR, omitting it if not in a git repo. This would make it look nicer outside of git repos.
* Fix formatting in `dotfiles/home/.bashrc`MountainMan2023-04-021-7/+7
| | | | | For whatever reason, I used 75 chars when I wrote the `.bashrc`. This is wrong, it should be 74. This change fixes it.
* Remove `--git` flag from `ls` alias in `dotfiles/home/.bashrc`Mountain Man2023-04-021-1/+1
| | | | | | On crappy binary-based distros like Ubuntu, `exa` doesn't have the functionality required to use the `--git` flag. I don't really care about it anyways so I'll just remove the flag.
* Make the 'SSH' label in '$PS1' more visibleMountain Man2023-03-311-5/+4
| | | | | The SSH label should jump out at you. This change makes it cyan instead of grey, to match the color of the username component.
* Refactor 'PS1' prompt in 'home/.bashrc'Mountain Man2023-03-311-28/+9
| | | | | Made the 'PS1' prompt a bit shorter and easier to read. It now more closely reflects what the prompt actually looks like.
* Create alias for 'ls' in 'home/.bashrc'Mountain Man2023-03-311-0/+1
| | | | | I currently use 'exa' as a replacement for 'ls'. This alias makes it more convenient to use by adding all my usual options and flags to it.
* Create alias for 'wget' in 'home/,bashrc'Mountain Man2023-03-311-0/+7
| | | | | | | The default behavior of 'wget' is kind of inconvenient. This alias prevents 'wget' from failing as often, and makes it more convenient when it does fail by allowing to pick back up where the download left off.
* Add $PS2 promptMountain Man2023-03-311-1/+6
| | | | Add $PS2 prompt, which is displayed when a command needs more input.
* Create custom $PS1 prompt in 'home/.bashrc'Mountain Man2023-03-311-1/+82
| | | | | | | | | | | This change adds a custom PS1 prompt. The prompt is constructed step-by-step through concatenation, and contains conditional formatting based on which user is logged in and whether or not it is running in an SSH session. The PS1 prompt should look something like: - `[TTY#] [DATE TIME] [USER@HOST] [DIR] >` - `[1] [2023-03-31 01:07:42] [username@hostname] [~/dotfiles/home] >`
* Use same '.bashrc' file for all usersMountain Man2023-03-281-0/+7
It is more convenient and maintainable to use the same '.bashrc' for all users. This will allow, for instance, the PS1 prompt to be conditionally tailored for certain kinds of users.