Devboot update: 23-10-04-20-17-31
This commit is contained in:
0
dot-conf/.tmuxifier/layouts/layouts/.gitkeep
Normal file
0
dot-conf/.tmuxifier/layouts/layouts/.gitkeep
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
session_root "~/repos/telegram-messages-manager"
|
||||||
|
|
||||||
|
if initialize_session "telegram-messages-manager"; then
|
||||||
|
new_window "lunarvim"
|
||||||
|
split_v 20
|
||||||
|
run_cmd "./runDev.sh"
|
||||||
|
select_pane 0
|
||||||
|
run_cmd "poetry shell"
|
||||||
|
run_cmd "lvim ."
|
||||||
|
fi
|
||||||
|
|
||||||
|
finalize_and_go_to_session
|
||||||
@@ -5,7 +5,6 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# End of lines added by compinstall
|
|
||||||
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
@@ -16,6 +15,8 @@ HISTSIZE=10000
|
|||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
setopt appendhistory
|
setopt appendhistory
|
||||||
|
|
||||||
|
export EDITOR=lvim
|
||||||
|
|
||||||
# asdf
|
# asdf
|
||||||
. "$HOME/.asdf/asdf.sh"
|
. "$HOME/.asdf/asdf.sh"
|
||||||
fpath=(${ASDF_DIR}/completions $fpath)
|
fpath=(${ASDF_DIR}/completions $fpath)
|
||||||
@@ -40,22 +41,25 @@ alias cat="bat --style=auto"
|
|||||||
alias docs="cd /mnt/e/Windows/Documents"
|
alias docs="cd /mnt/e/Windows/Documents"
|
||||||
alias rld="source ${HOME}/.zshrc"
|
alias rld="source ${HOME}/.zshrc"
|
||||||
alias zshrc="lvim ${HOME}/.zshrc && rld"
|
alias zshrc="lvim ${HOME}/.zshrc && rld"
|
||||||
|
alias tm="tmux"
|
||||||
|
alias tmf="tmuxifier"
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
export PATH=${PATH}:${HOME}/.local/bin
|
export PATH=${PATH}:${HOME}/.local/bin
|
||||||
export PATH=${PATH}:${HOME}/repos/personal-devboot/my-scripts/shell
|
export PATH=${PATH}:${HOME}/repos/personal-devboot/my-scripts/shell
|
||||||
|
export PATH="$HOME/.tmuxifier/bin:$PATH"
|
||||||
|
|
||||||
# docker
|
# docker
|
||||||
# https://gbbigardi.medium.com/wsl-2-arch-docker-e-um-pouco-mais-do-meu-ambiente-de-desenvolvimento-42adc48368d4
|
# https://gbbigardi.medium.com/wsl-2-arch-docker-e-um-pouco-mais-do-meu-ambiente-de-desenvolvimento-42adc48368d4
|
||||||
DOCKER_DISTRO="Arch"
|
# DOCKER_DISTRO="Arch"
|
||||||
DOCKER_DIR=/mnt/wsl/shared-docker
|
# DOCKER_DIR=/mnt/wsl/shared-docker
|
||||||
DOCKER_SOCK="$DOCKER_DIR/docker.sock"
|
# DOCKER_SOCK="$DOCKER_DIR/docker.sock"
|
||||||
export DOCKER_HOST="unix://$DOCKER_SOCK"
|
# export DOCKER_HOST="unix://$DOCKER_SOCK"
|
||||||
if [ ! -S "$DOCKER_SOCK" ]; then
|
# if [ ! -S "$DOCKER_SOCK" ]; then
|
||||||
mkdir -pm o=,ug=rwx "$DOCKER_DIR"
|
# mkdir -pm o=,ug=rwx "$DOCKER_DIR"
|
||||||
chgrp docker "$DOCKER_DIR"
|
# chgrp docker "$DOCKER_DIR"
|
||||||
/mnt/c/Windows/System32/wsl.exe -d $DOCKER_DISTRO sh -c "nohup sudo -b dockerd < /dev/null > $DOCKER_DIR/dockerd.log 2>&1"
|
# /mnt/c/Windows/System32/wsl.exe -d $DOCKER_DISTRO sh -c "nohup sudo -b dockerd < /dev/null > $DOCKER_DIR/dockerd.log 2>&1"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# end of file
|
eval "$(tmuxifier init -)"
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
mkdir --parents dot-conf
|
mkdir --parents dot-conf
|
||||||
mkdir --parents dot-conf/.config/lvim
|
mkdir --parents dot-conf/.config/lvim dot-conf/.tmuxifier/layouts
|
||||||
|
|
||||||
cp ${HOME}/.zshrc ./dot-conf/
|
cp ${HOME}/.zshrc ./dot-conf/
|
||||||
cp ${HOME}/.tmux.conf ./dot-conf/
|
cp ${HOME}/.tmux.conf ./dot-conf/
|
||||||
cp --recursive ${HOME}/.config/lvim/ ./dot-conf/.config
|
cp --recursive ${HOME}/.config/lvim/ ./dot-conf/.config
|
||||||
|
cp --recursive ${HOME}/.tmuxifier/layouts/ ./dot-conf/.tmuxifier/layouts/
|
||||||
|
|
||||||
fulltime=$(date +%y-%m-%d-%H-%M-%S)
|
fulltime=$(date +%y-%m-%d-%H-%M-%S)
|
||||||
git add .
|
git add .
|
||||||
|
|||||||
Reference in New Issue
Block a user