This commit is contained in:
tosu 2024-07-12 22:45:32 +02:00
parent 61d460116d
commit bf36a0c7be
8 changed files with 23 additions and 16 deletions

View File

@ -666,3 +666,5 @@ complete -C backup_file backup_file
################################### sources ####################################
__source_if "${HOME}/.userbashrc"
alias mstest="bash /home/tosuman/42_minishell_tester/tester.sh"

View File

@ -35,6 +35,10 @@ yellow = "#da8548"
# foreground = "#000000"
# background = "#ffffff"
# Blur
# foreground = "#000000"
# background = "#cccccc"
# inside
background = "#282c34"
foreground = "#bbc2cf"

View File

@ -9,8 +9,8 @@ function ColorMyPencils(color)
end
-- For inside
ColorMyPencils("retrobox")
-- ColorMyPencils("gruvbox")
-- ColorMyPencils("retrobox")
ColorMyPencils("gruvbox")
-- ColorMyPencils("habamax")
-- For outside

View File

@ -3,8 +3,8 @@ vim.g.mapleader = ' '
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.ignorecase = false
vim.opt.smartcase = false
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
@ -38,14 +38,14 @@ vim.opt.listchars = 'tab:> ,trail:-'
vim.opt.updatetime = 50
-- vim.opt.colorcolumn = '80'
vim.opt.colorcolumn = '80'
vim.opt.paste = false
vim.opt.splitright = false
vim.diagnostic.config({
virtual_lines = false,
virtual_text = false,
underline = false,
signs = true,
})
-- vim.diagnostic.config({
-- virtual_lines = false,
-- virtual_text = false,
-- underline = false,
-- signs = true,
-- })

View File

@ -20,7 +20,7 @@ run () {
tmux rename-window 'System Update'
fi
tmux send-key 'paruuu' ENTER
tmux send-key 'yolo' ENTER
}
run

View File

@ -31,7 +31,7 @@ while : ; do
done
if [ "${#}" -eq "1" ] && [ -n "${1}" ]; then
backupdir="${HOME}/backups"
backupdir="${HOME}/.backups"
srcdir="${1}"
elif [ "${#}" -eq "2" ] && [ -n "${1}" ] && [ -n "${2}" ] ; then
backupdir="${1}"

View File

@ -31,7 +31,7 @@ while : ; do
done
if [ "${#}" -eq "1" ] && [ -n "${1}" ]; then
backupdir="${HOME}/backups"
backupdir="${HOME}/.backups"
srcfile="${1}"
elif [ "${#}" -eq "2" ] && [ -n "${1}" ] && [ -n "${2}" ] ; then
backupdir="${1}"

View File

@ -325,11 +325,12 @@ else
[ -s "${NVM_DIR}/bash_completion" ] && . "${NVM_DIR}/bash_completion"
if ! set | grep -sq '^\(TMUX_PANE\|SSH_CONNECTION\)' ; then
! pidof -q startx && 1>/home/tosuman/.startx.log 2>&1 _exec startx || log.warn "Not starting X again"
! pidof -q startx && 1>"${HOME}/.startx.log" 2>&1 _exec startx || log.warn "Not starting X again"
fi
log.info ".profile sourced"
export PROFILE_SOURCED='1'
fi
# if running bash
[ -n "${BASH_VERSINFO}" ] && [ -f "${HOME}/.bashrc" ] && [ -r "${HOME}/.bashrc" ] && _exec bash
# [ -n "${BASH_VERSINFO}" ] && [ -f "${HOME}/.bashrc" ] && [ -r "${HOME}/.bashrc" ] && _exec bash
[ -n "${BASH_VERSINFO}" ] && [ -f "${HOME}/.bashrc" ] && [ -r "${HOME}/.bashrc" ] && . "${HOME}/.bashrc"