diff --git a/.config/shell/bin/ala b/.config/shell/bin/ala deleted file mode 100755 index f01740c..0000000 --- a/.config/shell/bin/ala +++ /dev/null @@ -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 & diff --git a/.config/shell/functions/ala b/.config/shell/functions/ala new file mode 100755 index 0000000..662bc43 --- /dev/null +++ b/.config/shell/functions/ala @@ -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 +}