Skip to content

Commit

Permalink
add bashrc variable
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattscarpenter committed Sep 21, 2024
1 parent eb3dba8 commit a9e9194
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utilrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ mkcd() { #MaKe, and Change to, a Directory. See also https://stackoverflow.com/q
# Please note that this is case-sensitive. I have not aliased all the case variants; out of personal taste (I always write my REM lines with REM in caps, for visual distinctness), and also so that (*checks notes*) the rem command of the remind package will not conflict with this. This alias also does not end in a space, so the command after it will not be alias-expanded. This particular omission is on purpose (in the rest of the file the omissions were not carefully considered), because REM is supposed to be a comment so the less that is done in there the better.
alias REM='#'

# This variable is set just because I dislike typing out ~/.bashrc every time I want to look at my bashrc. (The mess of punctuation slows me down.)
# Note that it will not intelligently track your bashrc location or anything like that.
# The $(echo ) stuff is because tilde expansion won't happen otherwise anywhere in the chain if you try to type `cat $bashrc`; so we have to pre-expand it here.
bashrc="$(echo ~/.bashrc)"

ipse ~/.ipse # For fun, utilrc runs `ipse` (on shell startup), which is like `fortune`. It runs it on ~/.ipse, which I intend you to symlink to the actual ipse file you care about that lives somewhere else. (Notably, since ipse handles directories in a recursive manner, your .ipse file can be a directory of symlinks to other documents, or even a symlink to a directory of symlinks... etc...) You may also make .ipse an empty file to suppress this behavior.

0 comments on commit a9e9194

Please sign in to comment.