From 1cb78494f3022fe9d808d070507bddf552c64753 Mon Sep 17 00:00:00 2001 From: Casper Date: Wed, 18 Dec 2024 15:21:28 -0700 Subject: Initial commit, new repo --- dots/.bashrc | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dots/.bashrc (limited to 'dots/.bashrc') diff --git a/dots/.bashrc b/dots/.bashrc new file mode 100644 index 0000000..eb63c13 --- /dev/null +++ b/dots/.bashrc @@ -0,0 +1,36 @@ +# .bashrc + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +# User specific environment +if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] +then + PATH="$HOME/.local/bin:$HOME/bin:$PATH" +fi +export PATH + +# Uncomment the following line if you don't like systemctl's auto-paging feature: +# export SYSTEMD_PAGER= + +# User specific aliases and functions + +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' + +alias qinst='sudo qubes-dom0-update' +alias qctl='sudo qubesctl' +alias qctla='sudo qubesctl state.apply' +alias qctlas='sudo qubesctl state.sls' +alias qctlaa='sudo qubesctl --all state.apply' +qctlat () +{ + sudo qubesctl --targets="$1" state.apply +} + +set -o vi +export VISUAL=vim +export EDITOR="$VISUAL" -- cgit v1.2.3