addet clear function
This commit is contained in:
parent
9d9b84b11c
commit
0b72e77e00
1 changed files with 2 additions and 1 deletions
3
.bashrc
3
.bashrc
|
@ -274,14 +274,15 @@ _fetches_() {
|
||||||
if command_exists fastfetch; then
|
if command_exists fastfetch; then
|
||||||
alias ff="fastfetch"
|
alias ff="fastfetch"
|
||||||
alias clearff="command clear & fastfetch"
|
alias clearff="command clear & fastfetch"
|
||||||
|
alias clearf="command clear & fastfetch"
|
||||||
if fastfetch --config os >/dev/null 2>&1; then
|
if fastfetch --config os >/dev/null 2>&1; then
|
||||||
alias f="fastfetch --config os"
|
alias f="fastfetch --config os"
|
||||||
else
|
else
|
||||||
git clone https://git.k4li.de/mirrors/fastfetch.git $HOME/.local/share/fastfetch >/dev/null 2>&1
|
git clone https://git.k4li.de/mirrors/fastfetch.git $HOME/.local/share/fastfetch >/dev/null 2>&1
|
||||||
exec $SHELL
|
exec $SHELL
|
||||||
fi
|
fi
|
||||||
alias clear="clear & ff"
|
|
||||||
fi
|
fi
|
||||||
|
clearf
|
||||||
}
|
}
|
||||||
|
|
||||||
_nmap_() {
|
_nmap_() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue