mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2025-12-06 05:45:24 +01:00
Adding config
This commit is contained in:
1
kitty/kitty.conf
Normal file
1
kitty/kitty.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
shell bash --login
|
||||||
@@ -5,4 +5,3 @@
|
|||||||
-- with `vim.api.nvim_create_autocmd`
|
-- with `vim.api.nvim_create_autocmd`
|
||||||
--
|
--
|
||||||
-- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults)
|
-- 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")
|
|
||||||
|
|||||||
7
nvim/lua/plugins/auto-session.lua
Normal file
7
nvim/lua/plugins/auto-session.lua
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
"rmagatti/auto-session",
|
||||||
|
lazy = false,
|
||||||
|
opts = {
|
||||||
|
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
|
||||||
|
},
|
||||||
|
}
|
||||||
31
profile
Executable file
31
profile
Executable 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
|
||||||
11
setup.sh
11
setup.sh
@@ -14,8 +14,15 @@ link() {
|
|||||||
ln -s "$2" "$1"
|
ln -s "$2" "$1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
configlink() {
|
||||||
|
link ~/.config/$1 ~/dotfiles/$1
|
||||||
|
}
|
||||||
|
|
||||||
checkdir ~/.config
|
checkdir ~/.config
|
||||||
link ~/.dotfiles ~/dotfiles
|
link ~/.dotfiles ~/dotfiles
|
||||||
link ~/.config/tmux ~/dotfiles/tmux
|
link ~/.profile ~/dotfiles/profile
|
||||||
link ~/.config/nvim ~/dotfiles/nvim
|
link ~/.config/i3 ~/dotfiles/i3
|
||||||
|
|
||||||
|
configlink tmux
|
||||||
|
configlink nvim
|
||||||
|
configlink kitty
|
||||||
|
|||||||
Reference in New Issue
Block a user