Last active
August 7, 2022 16:52
-
-
Save Anselmoo/42e7e6ed1f91418f16aeb3abbf3a9c09 to your computer and use it in GitHub Desktop.
fish functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias df 'df -m' | |
alias j jobs | |
alias l ls | |
alias ll 'ls -la' | |
alias ls 'ls -FG' | |
alias su 'su -m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function condanew --description "create new conda env and activate it" | |
if [ (count $argv) -gt 0 ] | |
conda create -n $argv python=3.10 --no-default-packages --yes && conda activate $argv | |
else | |
echo "No arguments given" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment