diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 249fe57..7027d00 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ .DS_Store .git -setup.sh tmux/.tmux/plugins/* vim/.vim/plugged/* diff --git a/.gitmodules b/.gitmodules old mode 100644 new mode 100755 index 02afde4..21dbf48 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ [submodule "nvim/.config/nvim"] path = nvim/.config/nvim url = https://github.com/jfraeys/kickstart.nvim.git -[submodule "oh-my-zsh/.oh-my-zsh"] - path = oh-my-zsh/.oh-my-zsh - url = https://github.com/jfraeys/oh-my-zsh.git diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 0a9468c..78e4ac7 --- a/README.md +++ b/README.md @@ -1 +1,27 @@ -# .dotfiles +# Dotfiles + +This repository contains my personal dotfiles. These configurations are tailored to suit my development environment and preferences. + +## Repository Structure + +- **bash**: Bash shell configurations. +- **bin**: Custom scripts and binaries. +- **nvim**: Neovim editor configurations. +- **tmux**: Tmux terminal multiplexer configurations. +- ... (add more directories as needed) + +## Setup + +To use these dotfiles on your system: + +1. Clone the repository to your home directory: + + ```bash + git clone https://github.com/your-username/.dotfiles.git ~/.dotfiles + cd ~/.dotfiles + ``` + +3. Optionally, run setup script available in the repository. + ```bash + ./setup.sh + ``` diff --git a/bash/.bash_profile b/bash/.bash_profile old mode 100644 new mode 100755 diff --git a/bash/.bashrc b/bash/.bashrc old mode 100644 new mode 100755 diff --git a/conda/.conda/environments.txt b/conda/.conda/environments.txt old mode 100644 new mode 100755 diff --git a/conda/.condarc b/conda/.condarc old mode 100644 new mode 100755 diff --git a/fish/.config/fish/conf.d/00_fig_pre.fish b/fish/.config/fish/conf.d/00_fig_pre.fish old mode 100644 new mode 100755 diff --git a/fish/.config/fish/conf.d/99_fig_post.fish b/fish/.config/fish/conf.d/99_fig_post.fish old mode 100644 new mode 100755 diff --git a/fzf/.fzf.bash b/fzf/.fzf.bash old mode 100644 new mode 100755 diff --git a/fzf/.fzf.zsh b/fzf/.fzf.zsh old mode 100644 new mode 100755 diff --git a/git/.gitconfig b/git/.gitconfig old mode 100644 new mode 100755 diff --git a/jupyter/.ipython/profile_default/db/dhist b/jupyter/.ipython/profile_default/db/dhist old mode 100644 new mode 100755 diff --git a/jupyter/.ipython/profile_default/history.sqlite b/jupyter/.ipython/profile_default/history.sqlite old mode 100644 new mode 100755 diff --git a/jupyter/.ipython/profile_default/startup/README b/jupyter/.ipython/profile_default/startup/README old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/jupyter_notebook_config.json b/jupyter/.jupyter/jupyter_notebook_config.json old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/jupyter_notebook_config.py b/jupyter/.jupyter/jupyter_notebook_config.py old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/application-extension/top-bar.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/application-extension/top-bar.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/notification.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/notification.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/cell-toolbar-extension/plugin.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/cell-toolbar-extension/plugin.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/completer-extension/manager.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/completer-extension/manager.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/console-extension/tracker.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/console-extension/tracker.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/csvviewer-extension/csv.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/csvviewer-extension/csv.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/csvviewer-extension/tsv.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/csvviewer-extension/tsv.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension/plugin.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension/plugin.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/filebrowser-extension/widget.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/filebrowser-extension/widget.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/fileeditor-extension/plugin.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/fileeditor-extension/plugin.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/htmlviewer-extension/plugin.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/htmlviewer-extension/plugin.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/notebook-extension/panel.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/notebook-extension/panel.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/notebook-extension/tracker.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/notebook-extension/tracker.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/shortcuts-extension/shortcuts.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/shortcuts-extension/shortcuts.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/user-settings/@jupyterlab/terminal-extension/plugin.jupyterlab-settings b/jupyter/.jupyter/lab/user-settings/@jupyterlab/terminal-extension/plugin.jupyterlab-settings old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/workspaces/auto-9-46a0.jupyterlab-workspace b/jupyter/.jupyter/lab/workspaces/auto-9-46a0.jupyterlab-workspace old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/workspaces/auto-q-99a9.jupyterlab-workspace b/jupyter/.jupyter/lab/workspaces/auto-q-99a9.jupyterlab-workspace old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/workspaces/auto-v-64f5.jupyterlab-workspace b/jupyter/.jupyter/lab/workspaces/auto-v-64f5.jupyterlab-workspace old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/workspaces/auto-w-19b7.jupyterlab-workspace b/jupyter/.jupyter/lab/workspaces/auto-w-19b7.jupyterlab-workspace old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/workspaces/default-37a8.jupyterlab-workspace b/jupyter/.jupyter/lab/workspaces/default-37a8.jupyterlab-workspace old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/lab/workspaces/lab-a511.jupyterlab-workspace b/jupyter/.jupyter/lab/workspaces/lab-a511.jupyterlab-workspace old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/migrated b/jupyter/.jupyter/migrated old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/nbconfig/notebook.json b/jupyter/.jupyter/nbconfig/notebook.json old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/nbconfig/tree.json b/jupyter/.jupyter/nbconfig/tree.json old mode 100644 new mode 100755 diff --git a/jupyter/.jupyter/serverconfig/jupyterlabapputilsextensionannouncements.json b/jupyter/.jupyter/serverconfig/jupyterlabapputilsextensionannouncements.json old mode 100644 new mode 100755 diff --git a/p10k/.p10k.zsh b/p10k/.p10k.zsh old mode 100644 new mode 100755 diff --git a/parallel/.parallel/runs-without-willing-to-cite b/parallel/.parallel/runs-without-willing-to-cite old mode 100644 new mode 100755 diff --git a/parallel/.parallel/tmp/sshlogin/Jeremies-MacBook-Pro.local/linelen b/parallel/.parallel/tmp/sshlogin/Jeremies-MacBook-Pro.local/linelen old mode 100644 new mode 100755 diff --git a/parallel/.parallel/tmp/sshlogin/Jeremies-MacBook-Pro.local/setpgrp_func b/parallel/.parallel/tmp/sshlogin/Jeremies-MacBook-Pro.local/setpgrp_func old mode 100644 new mode 100755 diff --git a/parallel/.parallel/will-cite b/parallel/.parallel/will-cite old mode 100644 new mode 100755 diff --git a/skhd/.config/skhd/skhdrc b/skhd/.config/skhd/skhdrc old mode 100644 new mode 100755 diff --git a/terraform/.terraform.d/checkpoint_cache b/terraform/.terraform.d/checkpoint_cache old mode 100644 new mode 100755 diff --git a/terraform/.terraform.d/checkpoint_signature b/terraform/.terraform.d/checkpoint_signature old mode 100644 new mode 100755 diff --git a/tmux/.gitingnore b/tmux/.gitingnore old mode 100644 new mode 100755 diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 54d1d03..b1020ed 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -12,7 +12,7 @@ bind-key x kill-pane # unbind-key “x” from it’s current job of “ask and then close” bind-key X kill-session -set-option -g detach-on-destroy off +# set-option -g detach-on-destroy off # Session management bind S command-prompt -p "New Session:" "new-session -A -s '%%' -c ~" @@ -30,7 +30,7 @@ bind w display-popup -E "tmux list-windows -F '#{window_index} #{window_name} (# bind-key W choose-tree -Zw # Bind a key to run the switch_or_create_session function -bind-key -r f run-shell "tmux neww -n tmux_sessonizer ~/.bin/tmux_sessionizer" +bind-key -r f run-shell "tmux neww -n tmux_sessonizer ~/.local/bin/tmux_sessionizer" # Reduce delay set -s escape-time 1 @@ -71,7 +71,7 @@ bind -r J resize-pane -D 5 bind C-l send-keys 'C-l' # Enable activity alerts -setw -g monitor-activity on +setw -g monitor-activity off set -g visual-activity on # Remove switching delay @@ -195,10 +195,10 @@ bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe "xclip -selection clipboard" # Miscellaneous bind-key -T copy-mode-vi '?' send-keys -X list-keys bind-key -T copy-mode-vi ':' command-prompt -bind-key -T copy-mode-vi '~' send-keys -X show-buffer +bind-key -T copy-mode-vi 'F5' send-keys -X show-buffer bind-key ? list-keys bind-key : command-prompt -bind-key -n "^" show-buffer +bind-key -n F5 show-buffer run '$HOME/.tmux/plugins/tpm/tpm' diff --git a/tmux/.tmux/.tmux.conf_backup b/tmux/.tmux/.tmux.conf_backup old mode 100644 new mode 100755 diff --git a/tox/.tox/distshare/job_req_utils-0.1.0.tar.gz b/tox/.tox/distshare/job_req_utils-0.1.0.tar.gz old mode 100644 new mode 100755 diff --git a/zsh/.zprofile b/zsh/.zprofile old mode 100644 new mode 100755 index 8e45a96..812710c --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,3 +1,5 @@ +export ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX=YES + if [[ -n $SSH_CONNECTION ]]; then export EDITOR='vim' else @@ -8,9 +10,12 @@ export PYENV_ROOT="$HOME/.pyenv" [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" -export PATH=$PATH:/usr/local/bin/python3 +export PATH=$PATH:/usr/local/bin/ export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border' +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +export PATH="$PATH:$HOME/.rvm/bin"´ + alias python="python3" alias vim="nvim" alias tn="tmux new -s (pwd | sed 's/.*\///g')" @@ -25,3 +30,12 @@ help() { # overwriting -h and --help with bat highlights alias -g -- -h='-h 2>&1 | bat --language=help --style=plain' alias -g -- --help='--help 2>&1 | bat --language=help --style=plain' + +# dir location alias +alias projects="cd ~/projects" +alias download="cd ~/Download" +alias document="cd ~/Document" +alias config="cd ~/.config" +alias .tmux.conf="nvim ~/.tmux.conf" +alias research="cd Google\ Drive/My\ Drive/School/UoGuelph/MSc/Research/soft_skills_job_desc/jfraeysd/" + diff --git a/zsh/.zshrc b/zsh/.zshrc old mode 100644 new mode 100755 index d79399b..9aca811 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -4,6 +4,7 @@ fi # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH +export PATH="$HOME/.local/bin:$PATH" # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" @@ -12,6 +13,7 @@ export ZSH="$HOME/.oh-my-zsh" # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes ZSH_THEME="powerlevel10k/powerlevel10k" +# ZSH_THEME="robbyrussell" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -77,10 +79,6 @@ plugins=( git zsh-syntax-highlighting zsh-autosuggestions - wd - tmux - poetry - macos ) source $ZSH/oh-my-zsh.sh @@ -99,11 +97,6 @@ source ~/.zprofile # export EDITOR='nvim' # fi -# activate aactivator on login -if pip3 list | grep -F aactivator >/dev/null; then - eval "$(aactivator init)" -fi - # Compilation flags # export ARCHFLAGS="-arch x86_64" @@ -119,13 +112,9 @@ fi # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh -export PATH="/usr/local/bin:$PATH" (( ! ${+functions[p10k]} )) || p10k finalize -# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. -export PATH="$PATH:$HOME/.rvm/bin"´ - # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/Users/jfraeys/yes/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"