diff --git a/config.fish b/config.fish index e69de29..10dfd49 100644 --- a/config.fish +++ b/config.fish @@ -0,0 +1,3 @@ + +# Created by `pipx` on 2022-01-04 02:25:15 +set PATH $PATH /home/steffo/.local/bin diff --git a/functions/reboot-windows.fish b/functions/reboot-windows.fish new file mode 100644 index 0000000..02e82ec --- /dev/null +++ b/functions/reboot-windows.fish @@ -0,0 +1,3 @@ +function reboot-windows --wraps='systemctl reboot --boot-loader-entry=windows.conf' --description 'alias reboot-windows systemctl reboot --boot-loader-entry=windows.conf' + systemctl reboot --boot-loader-entry=windows.conf $argv; +end diff --git a/functions/revenv.fish b/functions/revenv.fish new file mode 100644 index 0000000..137108f --- /dev/null +++ b/functions/revenv.fish @@ -0,0 +1,17 @@ +function revenv + echo_progress "Removing previous venv..." + rm -rfi venv + echo + echo_progress "Creating a new venv..." + python -m venv venv + echo + echo_progress "Accessing the new venv..." + source venv/bin/activate.fish + echo + echo_progress "Installing " + echo_highlight "$argv" + pip install $argv + echo + echo_progress "Done!" + echo +end