1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 23:04:22 +00:00
This commit is contained in:
Steffo 2022-01-05 18:25:06 +01:00
parent d11c3eaa27
commit afd8eb6f54
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# Created by `pipx` on 2022-01-04 02:25:15
set PATH $PATH /home/steffo/.local/bin

View file

@ -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

17
functions/revenv.fish Normal file
View file

@ -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