Merge branch 'main' of ssh://forge.chapril.org:222/sortion/.dotfiles
This commit is contained in:
commit
58b44619d9
3
.aliases
3
.aliases
|
@ -2,11 +2,10 @@ alias o="xdg-open"
|
|||
|
||||
alias pro="cd ~/Documents/Projects"
|
||||
alias doc="cd ~/Documents"
|
||||
alias vim="nvim"
|
||||
alias int="cd ~/Documents/course/licence/L3/stage/pasteur/projects/"
|
||||
alias pdf="latexmk -pdf"
|
||||
alias blog="cd ~/Documents/Projects/myself/log/"
|
||||
alias course="cd ~/Documents/course/master/M1/S1/"
|
||||
alias course="cd ~/Documents/course/master/M1/T1/"
|
||||
|
||||
# Print field name from header with the field rank
|
||||
csv_fields() {
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[submodule "liquidprompt/lp-mouse"]
|
||||
path = liquidprompt/lp-mouse
|
||||
url = git@github.com:UncleSamulus/lp-mouse.git
|
||||
[submodule "liquidprompt/lp-dotmatrix"]
|
||||
path = liquidprompt/lp-dotmatrix
|
||||
url = https://github.com/nojhan/lp-dotmatrix
|
||||
|
|
22
.loadenv.sh
22
.loadenv.sh
|
@ -16,24 +16,26 @@ if type vivid >/dev/null; then
|
|||
export LS_COLORS="$(vivid -m 8-bit generate one-dark)"
|
||||
fi
|
||||
|
||||
eval $(thefuck --alias)
|
||||
if type thefuck > /dev/null; then
|
||||
eval $(thefuck --alias)
|
||||
fi
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/$USER/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)"
|
||||
__conda_setup="$('/home/sortion/.local/share/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/home/$USER/.local/share/mambaforge/bin:$PATH"
|
||||
fi
|
||||
if [ -f "/home/sortion/.local/share/miniforge3/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/sortion/.local/share/miniforge3/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/home/sortion/.local/share/miniforge3/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
|
||||
if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh" ]; then
|
||||
. "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh"
|
||||
if [ -f "/home/sortion/.local/share/miniforge3/etc/profile.d/mamba.sh" ]; then
|
||||
. "/home/sortion/.local/share/miniforge3/etc/profile.d/mamba.sh"
|
||||
fi
|
||||
# <<< conda initialize <<<
|
||||
|
||||
|
|
18
.zshrc
18
.zshrc
|
@ -30,24 +30,22 @@ antigen bundle nojhan/liquidprompt
|
|||
|
||||
antigen apply
|
||||
|
||||
|
||||
export DOTMATRIX_HOST_LOCAL=""
|
||||
export DOTMATRIX_SPACED=1
|
||||
|
||||
source ~/.antigen/bundles/nojhan/liquidprompt/liquidprompt
|
||||
|
||||
# source ~/.antigen/bundles/nojhan/liquidprompt/themes/powerline/powerline.theme && lp_theme powerline
|
||||
|
||||
source ~/.dotfiles/liquidprompt/lp-mouse/preset.conf
|
||||
source ~/.dotfiles/liquidprompt/lp-dotmatrix/presets/variant-chevron.conf
|
||||
|
||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/variant-chevron.conf
|
||||
source ~/.dotfiles/liquidprompt/lp-dotmatrix/presets/colors-green-red.conf
|
||||
|
||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/colors_green-red.conf
|
||||
|
||||
source ~/.antigen/bundles/nojhan/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix
|
||||
|
||||
# source <(/home/sortion/.cargo/bin/starship init zsh --print-full-init)
|
||||
|
||||
export DOTMATRIX_SPACED=1
|
||||
source ~/.dotfiles/liquidprompt/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix
|
||||
|
||||
# if [ "$TMUX" = "" ]; then tmux; fi
|
||||
|
||||
if type fortune > /dev/null; then
|
||||
fortune
|
||||
fi
|
||||
|
||||
|
|
18
Makefile
18
Makefile
|
@ -1,27 +1,17 @@
|
|||
all: pull install
|
||||
|
||||
pull:
|
||||
git pull
|
||||
git pull origin main
|
||||
|
||||
install: antigen source emacs nvim
|
||||
install: antigen source
|
||||
|
||||
source: fish
|
||||
source:
|
||||
cp ~/.dotfiles/.aliases ~/.aliases
|
||||
cp ~/.dotfiles/.zshrc ~/.zshrc
|
||||
cp ~/.dotfiles/.loadenv.sh ~/.loadenv.sh
|
||||
cp ~/.dotfiles/.vimrc ~/.vimrc
|
||||
cp ~/.dotfiles/.gitconfig ~/.gitconfig
|
||||
cp ~/.dotfiles/.latexmkrc ~/.latexmkrc
|
||||
|
||||
|
||||
fish:
|
||||
mkdir -p ~/.config/fish
|
||||
cp ./.config/fish/config.fish ~/.config/fish/config.fish
|
||||
cp ./.aliases.fish ~/.aliases.fish
|
||||
cp ./.config/starship.toml ~/.config/starship.toml
|
||||
|
||||
nvim:
|
||||
git clone ssh://gitea@forge.chapril.org:222/sortion/nvim.conf ~/.config/nvim/
|
||||
cp ~/.dotfiles/.latexmkrc ~/.latexmk
|
||||
|
||||
antigen:
|
||||
git clone https://github.com/zsh-users/antigen.git
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit be28a24b202084526ab286b0dd83435d3c112600
|
Loading…
Reference in New Issue