-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bashrc
More file actions
59 lines (47 loc) · 1.39 KB
/
.bashrc
File metadata and controls
59 lines (47 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# ~/.bashrc
#
add_paths() {
for d in "$@"; do
[[ -d "$d" && ! "$PATH" =~ (^|:)$d(:|$) ]] && PATH="$PATH:$d"
done
}
add_paths ~/bin ~/.local/share/harmony/bin
PS1='[\u@\h \W]\$ '
# Initialization - Homebrew
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# . "$HOME/.cargo/env"
# Initialization - Starship
eval "$(starship init bash)"
# Initialization - pyenv
# command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
# eval "$(pyenv init -)"
# Environment Variables
source ~/.config/keys.sh
export ELECTRON_OZONE_PLATFORM_HINT="wayland"
export MOZ_ENABLE_WAYLAND=0
export MICRO_TRUECOLOR=1
export TERM='xterm-256color'
export NIXPKGS_ALLOW_UNFREE=1
export WINEDEBUG=fixme-all
export MANPAGER='nvim +Man!'
export PYTHONPATH=$PYTHONPATH:/usr/lib/python3.13/site-packages
# Aliases - Configuration
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
# Aliases - System Tools
alias cat="bat -p"
alias cl="clear"
alias ex="exit"
alias l="ls"
alias ls="eza --icons --grid"
alias lsa="eza -la --icons --grid"
alias mxw="sudo -n mxw"
alias nano="micro"
alias q="exit"
alias hyprlockfix='hyprctl --instance 0 "dispatch exec hyprlock"'
# Start Hyprland if not already running
pidof Hyprland >/dev/null || start-hyprland & disown
# If not running interactively, don't do anything
#[[ $- != *i* ]] && return
#fish