This commit is contained in:
Samuel Ortion 2023-07-08 17:28:12 +02:00
parent f4a015dc6f
commit 711849c6a3
6 changed files with 27 additions and 5 deletions

View File

@ -1,7 +1,5 @@
alias o="evince2"
alias vim="nvim"
alias pro="cd ~/Documents/Projects"
alias doc="cd ~/Documents"

22
.aliases.fish Normal file
View File

@ -0,0 +1,22 @@
alias o="evince2"
alias vim="nvim"
alias pro="cd ~/Documents/Projects"
alias doc="cd ~/Documents"
alias int="cd ~/Documents/cours/licence/L3/stage/pasteur/project/"
export templates_dir="~/Documents/Projects/templates"
alias new.td='copier "$templates_dir/latex/td.template"'
alias new.cm='copier "$templates_dir/latex/cm.template"'
alias new.letter='copier "$templates_dir/latex/letter.template"'
alias taquin.sync="rsync -azvu '/home/sortion/Documents/cours/licence/L3/S6/intelligence artificielle/DM/DM2/taquin/' leon.talpa:/home/sortion/Documents/Projects/taquin/ && rsync -azvu leon.talpa:/home/sortion/Documents/Projects/taquin/ '/home/sortion/Documents/cours/licence/L3/S6/intelligence artificielle/DM/DM2/taquin/'"
function pdfcompress
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageDownsampleType=/Bicubic -dColorImageResolution=144 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=144 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=144 -sOutputFile="$2" "$1";
end
function colorinvert
convert "$1" -channel RGB -negate "$(echo $1 | sed 's/\./-inv\./')"
end

View File

@ -1,6 +1,6 @@
[user]
name = Samuel ORTION
email = samuel.ortion@orange.fr
name = Samuel Ortion
email = samuel+git@ortion.fr
[core]
editor = vim
[init]

View File

@ -1,6 +1,6 @@
export LUA_PATH='/usr/share/lua/5.4/?.lua;/usr/share/lua/5.4/?/init.lua;/usr/lib64/lua/5.4/?.lua;/usr/lib64/lua/5.4/?/init.lua;./?.lua;./?/init.lua;/home/sortion/.luarocks/share/lua/5.4/?.lua;/home/sortion/.luarocks/share/lua/5.4/?/init.lua'
export LUA_CPATH='/usr/lib64/lua/5.4/?.so;/usr/lib64/lua/5.4/loadall.so;./?.so;/home/sortion/.luarocks/lib/lua/5.4/?.so;/usr/lib/lua/5.4/?.so'
export PATH='/home/sortion/.luarocks/bin:/home/sortion/.julia/bin:/home/sortion/.nvm/versions/node/v17.9.1/bin:/home/sortion/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/opt/quarto/quarto-1.2.335/bin:/home/sortion/.local/bin:/home/sortion/bin:/home/sortion/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/sortion/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/sortion/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/sortion/Documents/cours/tools/bin/'
export PATH='/home/sortion/.luarocks/bin:/home/sortion/.julia/bin:/home/sortion/.nvm/versions/node/v17.9.1/bin:/home/sortion/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/opt/quarto-1.3.433/bin:/home/sortion/.local/bin:/home/sortion/bin:/home/sortion/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/sortion/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/sortion/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/sortion/Documents/cours/tools/bin/'
export TEXMFHOME=~/.texmf

View File

@ -16,6 +16,7 @@ source: fishcfg
fishcfg:
mkdir -p ~/.config/fish
cp ./fish/config.fish ~/.config/fish/config.fish
cp ./.aliases.fish ~/.aliases.fish
cp starship.toml ~/.config/starship.toml
antigen:

View File

@ -34,5 +34,6 @@ end
function __conda_add_prompt
end # Avoid conda prompt
source ~/.aliases.fish
starship init fish | source