ala: convert to shell function
This commit is contained in:
parent
b4e3f47785
commit
d1bb9764b0
2 changed files with 8 additions and 4 deletions
|
@ -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
8
.config/shell/functions/ala
Executable 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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue