summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2025-03-05 12:39:35 +0100
committerfilip <“filip.rabiega@gmail.com”>2025-03-05 12:39:35 +0100
commit1ea5a39637b3dcb9c14fc33b44772ec6a56a4643 (patch)
tree7d098e45a7b726018edba80985751bf60eeae50a /.bashrc
parent167e1ad6d641d14a812077bbdb3c6b7c8fdcdef9 (diff)
downloaddotfiles-1ea5a39637b3dcb9c14fc33b44772ec6a56a4643.tar.gz
dotfiles-1ea5a39637b3dcb9c14fc33b44772ec6a56a4643.tar.bz2
dotfiles-1ea5a39637b3dcb9c14fc33b44772ec6a56a4643.zip
updated dotfiles
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc23
1 files changed, 9 insertions, 14 deletions
diff --git a/.bashrc b/.bashrc
index 99bf4cf..8828853 100644
--- a/.bashrc
+++ b/.bashrc
@@ -43,7 +43,7 @@ esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
-#force_color_prompt=yes
+force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
@@ -85,7 +85,7 @@ if [ -x /usr/bin/dircolors ]; then
fi
# colored GCC warnings and errors
-#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
+export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
@@ -111,23 +111,18 @@ if ! shopt -oq posix; then
fi
fi
+# Set vi mode as the default mode
set -o vi
+# Set options for some frequently used programs
export LS_OPTIONS='-lha --color=auto'
-alias ls='ls $LS_OPTIONS'
-alias r='ranger'
-alias obs='nohup /usr/bin/obsidian &'
-alias vrc='vim ~/.vimrc'
-alias brc='vim ~/.bashrc && source $_'
-alias cts='ssh root@rabiega.xyz'
-alias ctg='ssh git@rabiega.xyz'
-alias nb='newsboat'
-alias nb-add='cat >> ~/.newsboat/urls << EOF'
-alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
-alias obsidian="/usr/bin/git --git-dir=$HOME/obsidian --work-tree=$HOME/obsidian"
+export MKDIR_OPTIONS='-p'
+# Groff shenanigans
groffe(){
- groff -e $1.ms -ms -Tpdf > $1.pdf
+ groff -Kutf8 -Tpdf -mec -ms $1.ms > $1.pdf
}
+# Bind Esc to CapsLock and vice versa
+export MANPAGER="vim -M +MANPAGER - "
setxkbmap -option caps:swapescape