Updates
This commit is contained in:
parent
72fca9a386
commit
efc6157a48
5
.bashrc
5
.bashrc
@ -21,8 +21,9 @@ export EDITOR=nvim
|
|||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
alias nf='neofetch'
|
alias nf='fastfetch'
|
||||||
alias pf='pfetch'
|
alias pf='fastfetch'
|
||||||
|
alias ff='fastfetch'
|
||||||
alias ls='eza -a --icons'
|
alias ls='eza -a --icons'
|
||||||
alias ll='eza -al --icons'
|
alias ll='eza -al --icons'
|
||||||
alias lt='eza -a --tree --level=1 --icons'
|
alias lt='eza -a --tree --level=1 --icons'
|
||||||
|
@ -12,7 +12,7 @@ if [ -f ~/dotfiles-versions/backups/$datets/.bashrc-old ]; then
|
|||||||
echo "Backup is already available here ~/dotfiles-versions/backups/$datets/.bashrc-old"
|
echo "Backup is already available here ~/dotfiles-versions/backups/$datets/.bashrc-old"
|
||||||
fi
|
fi
|
||||||
if [ ! -L ~/.bashrc ] && [ -f ~/.bashrc ]; then
|
if [ ! -L ~/.bashrc ] && [ -f ~/.bashrc ]; then
|
||||||
bash_confirm="Do you want to replace your existing .bashrc file with the dotfiles .bashrc file?"
|
bash_confirm="Do you want to replace your existing .bashrc file with the ML4W dotfiles .bashrc file?"
|
||||||
if gum confirm "$bash_confirm" ;then
|
if gum confirm "$bash_confirm" ;then
|
||||||
rm ~/.bashrc
|
rm ~/.bashrc
|
||||||
_installSymLink .bashrc ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc
|
_installSymLink .bashrc ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc
|
||||||
@ -22,7 +22,7 @@ if [ ! -L ~/.bashrc ] && [ -f ~/.bashrc ]; then
|
|||||||
echo "Installation of the .bashrc file skipped."
|
echo "Installation of the .bashrc file skipped."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
bash_confirm="Do you want to install the dotfiles .bashrc file now?"
|
bash_confirm="Do you want to install the ML4W dotfiles .bashrc file now?"
|
||||||
if gum confirm "$bash_confirm" ;then
|
if gum confirm "$bash_confirm" ;then
|
||||||
if [ -L ~/.bashrc ] || [ -f ~/.bashrc ]; then
|
if [ -L ~/.bashrc ] || [ -f ~/.bashrc ]; then
|
||||||
rm ~/.bashrc
|
rm ~/.bashrc
|
||||||
|
@ -43,6 +43,10 @@ if [ -f ~/dotfiles/.settings/eww-monitor.sh ] ;then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Replace pfetch and neofetch with fastfetch
|
||||||
|
sed -i "s/pfetch/fastfetch/g" ~/dotfiles/.bashrc
|
||||||
|
sed -i "s/neofetch/fastfetch/g" ~/dotfiles/.bashrc
|
||||||
|
|
||||||
# Create default folder structure
|
# Create default folder structure
|
||||||
xdg-user-dirs-update
|
xdg-user-dirs-update
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user