Compare commits
3 commits
1b005793ab
...
ee174a4252
Author | SHA1 | Date | |
---|---|---|---|
|
ee174a4252 | ||
|
22aff9b2eb | ||
|
29958605c2 |
2 changed files with 28 additions and 0 deletions
18
home/bash_profile
Normal file
18
home/bash_profile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Source my profile
|
||||
profile="${HOME}/.profile"
|
||||
[[ -f $profile ]] && . "$profile"
|
||||
unset profile
|
||||
|
||||
# Source my bashrc
|
||||
bashrc="${HOME}/.bashrc"
|
||||
[[ -f $bashrc ]] && . "$bashrc"
|
||||
unset bashrc
|
||||
|
||||
# Fastfetch
|
||||
fastfetch
|
||||
|
||||
# Start Sway if on tty1
|
||||
if [ "$(tty)" = /dev/tty1 ]; then
|
||||
exec sway
|
||||
fi
|
||||
|
10
home/profile
Normal file
10
home/profile
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Add local bin to PATH
|
||||
addpath() {
|
||||
if [ -d "$1" ]; then
|
||||
PATH="${1}:${PATH}"
|
||||
fi
|
||||
}
|
||||
|
||||
addpath ~/.local/bin
|
||||
addpath ~/.local/share/qemu/bin
|
||||
|
Loading…
Reference in a new issue