Compare commits

...

3 Commits

Author SHA1 Message Date
Samuel Ortion 0db430ff55 Reintroducing dotmatrix 2023-07-19 17:47:28 +02:00
Samuel Ortion 6f089f498f Liquidprompt 2023-07-16 15:27:19 +02:00
Samuel Ortion 319d7a1bcf Amend fish config with starship 2023-07-16 15:16:14 +02:00
6 changed files with 35 additions and 21 deletions

View File

@ -2,6 +2,8 @@ alias o="evince2"
alias pro="cd ~/Documents/Projects"
alias doc="cd ~/Documents"
alias vim="nvim"
alias activenv="mamba activate hic2023py3.11"
alias int="cd ~/Documents/cours/licence/L3/stage/pasteur/project/"

View File

@ -1,6 +1,7 @@
alias o="evince2"
alias vim="nvim"
alias activenv="conda activate hic2023py3.11"
alias pro="cd ~/Documents/Projects"
alias doc="cd ~/Documents"
@ -11,12 +12,11 @@ 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";
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\./')"
function colorinvert
convert "$1" -channel RGB -negate "$(echo $1 | sed 's/\./-inv\./')"
end

View File

@ -6,20 +6,19 @@ export TEXMFHOME=~/.texmf
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/sortion/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
__conda_setup="$('/home/sortion/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
eval "$__conda_setup"
else
if [ -f "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then
. "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh"
else
export PATH="/home/sortion/.local/share/mambaforge/bin:$PATH"
fi
if [ -f "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then
. "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh"
else
export PATH="/home/sortion/.local/share/mambaforge/bin:$PATH"
fi
fi
unset __conda_setup
if [ -f "/home/sortion/.local/share/mambaforge/etc/profile.d/mamba.sh" ]; then
. "/home/sortion/.local/share/mambaforge/etc/profile.d/mamba.sh"
. "/home/sortion/.local/share/mambaforge/etc/profile.d/mamba.sh"
fi
# <<< conda initialize <<<

16
.zshrc
View File

@ -2,15 +2,17 @@ autoload antigen
source ~/.aliases
source ~/.dotfiles/antigen/antigen.zsh
source ~/.loadenv.sh
source ~/.dotfiles/antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle nerdfonts
antigen theme ys
# antigen theme ys
antigen bundle nojhan/liquidprompt
antigen bundle zsh-users/zsh-syntax-highlighting
@ -20,6 +22,14 @@ antigen bundle git
antigen apply
source ~/.antigen/bundles/nojhan/liquidprompt/liquidprompt
source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/variant-chevron.conf
source ~/.antigen/bundles/nojhan/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix
# source <(/home/sortion/.cargo/bin/starship init zsh --print-full-init)
if [[ -x /usr/bin/fortune ]]; then
fortune
fi

View File

@ -19,6 +19,9 @@ fishcfg:
cp ./.aliases.fish ~/.aliases.fish
cp starship.toml ~/.config/starship.toml
nvim:
antigen:
git clone https://github.com/zsh-users/antigen.git

View File

@ -14,9 +14,9 @@ $character"""
style = "bright-blue"
[character]
success_symbol = "[](purple)"
error_symbol = "[](red)"
vimcmd_symbol = "[](green)"
success_symbol = "[](bright-purple)"
error_symbol = "[](bright-red)"
vimcmd_symbol = "[](bright-green)"
[git_branch]
format = "[$branch]($style)"
@ -24,7 +24,7 @@ style = "bright-black"
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
style = "cyan"
style = "bright-cyan"
conflicted = ""
untracked = ""
modified = ""