aboutsummaryrefslogtreecommitdiff
path: root/.kshrc
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-04-05 22:42:28 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-04-05 22:42:28 +0100
commitb1d9d1889401f8b3176186709a822f40fec25079 (patch)
treefd389f9dcc71ca15d7e0ab5e171ccc4bc9dab5e2 /.kshrc
parentc44b15ce283c5b9c3c698e8a88822e0aad2dc741 (diff)
Added aliases for pkg_add and pkg_info with -Dsnap option as I run current
Diffstat (limited to '.kshrc')
-rw-r--r--.kshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.kshrc b/.kshrc
index 5bc6439..328e278 100644
--- a/.kshrc
+++ b/.kshrc
@@ -35,6 +35,10 @@ _exists colorls && alias ls='colorls -G'
alias config='/usr/local/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
+# Only add these aliases if running -current
+alias pkg_add='pkg_add -Dsnap '
+alias pkg_info='pkg_info -Dsnap '
+
# Simple, lightweight git prompt for oksh: if inside a git repo, adds the
# branch name to PS1.
__get_current_git_branch_name() {