Skip to content

Instantly share code, notes, and snippets.

@Anselmoo
Last active August 7, 2022 16:52
Show Gist options
  • Save Anselmoo/42e7e6ed1f91418f16aeb3abbf3a9c09 to your computer and use it in GitHub Desktop.
Save Anselmoo/42e7e6ed1f91418f16aeb3abbf3a9c09 to your computer and use it in GitHub Desktop.
fish functions
alias df 'df -m'
alias j jobs
alias l ls
alias ll 'ls -la'
alias ls 'ls -FG'
alias su 'su -m'
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