ala: convert to shell function

This commit is contained in:
PowerUser64 2022-05-09 17:02:31 -07:00
parent b4e3f47785
commit d1bb9764b0
2 changed files with 8 additions and 4 deletions

View file

@ -1,4 +0,0 @@
#!/bin/bash
# Runs zsh in alacritty. Good if you're put in some other terminal for some reason.
nohup alacritty > /dev/null 2>&1 &

8
.config/shell/functions/ala Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
# Re-open your shell in alacritty and exit the current shell. Good if you're
# put in another terminal for some reason and you want alacritty.
ala() {
nohup alacritty > /dev/null 2>&1 &
exit
}