From b8fcc11c9b7f77b88e0880ececa735536d938f8d Mon Sep 17 00:00:00 2001 From: leiyu3 Date: Tue, 24 Feb 2026 15:03:32 -0500 Subject: add .bashrc and .profile --- .bashrc | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .bashrc (limited to '.bashrc') diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..2fe2640 --- /dev/null +++ b/.bashrc @@ -0,0 +1,41 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +export PATH="$HOME/.local/bin:$PATH" +export LEDGER_FILE="$HOME/Finance/finance.journal" + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +alias vim='nvim' +alias v='nvim' +alias vi='nvim' +alias neofetch='fastfetch' +alias nv='nvim' +alias pacman='sudo pacman' + +XDG_CONFIG_HOME=~/.config + +set -o vi + +PS1='[\u@\w]\$ ' + +osc7_cwd() { + local strlen=${#PWD} + local encoded="" + local pos c o + for (( pos=0; pos