Adding config

This commit is contained in:
2025-06-07 17:28:54 +02:00
parent 66c90d7306
commit 1537d9a29f
5 changed files with 48 additions and 3 deletions

1
kitty/kitty.conf Normal file
View File

@@ -0,0 +1 @@
shell bash --login

View File

@@ -5,4 +5,3 @@
-- with `vim.api.nvim_create_autocmd`
--
-- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults)
-- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")

View File

@@ -0,0 +1,7 @@
return {
"rmagatti/auto-session",
lazy = false,
opts = {
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
},
}

31
profile Executable file
View File

@@ -0,0 +1,31 @@
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -n "$PS1" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -t 1 ]; then
tmux attach-session -t main || tmux new-session -s main
fi

View File

@@ -14,8 +14,15 @@ link() {
ln -s "$2" "$1"
fi
}
configlink() {
link ~/.config/$1 ~/dotfiles/$1
}
checkdir ~/.config
link ~/.dotfiles ~/dotfiles
link ~/.config/tmux ~/dotfiles/tmux
link ~/.config/nvim ~/dotfiles/nvim
link ~/.profile ~/dotfiles/profile
link ~/.config/i3 ~/dotfiles/i3
configlink tmux
configlink nvim
configlink kitty