Update .bashrc
Added function to download updated profile from gitea
This commit is contained in:
parent
29a08b3575
commit
6ad01aa53b
6
.bashrc
6
.bashrc
@ -395,6 +395,12 @@ updatewr() {
|
||||
sudo reboot
|
||||
}
|
||||
|
||||
refresh() {
|
||||
# Pull down new .bashrc profile
|
||||
cd ~/ && wget -q -O .bashrc https://git.zinchuk.xyz/yuriy/Linux-bashrc-Profile/raw/branch/main/.bashrc && chmod 744 .bashrc
|
||||
echo "New .bashrc downloaded. Please reload with rl"
|
||||
}
|
||||
|
||||
rkeymapper(){
|
||||
sudo pkill keymapper
|
||||
sudo systemctl restart keymapperd & keymapper &
|
||||
|
Loading…
Reference in New Issue
Block a user