diff options
-rw-r--r-- | .zshrc | 57 | ||||
-rwxr-xr-x | org/README.org | 59 |
2 files changed, 0 insertions, 116 deletions
@@ -1,57 +0,0 @@ -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh - -source ~/.shells/alias.sh -source ~/.shells/exports.sh -export PATH=/home/apollo/.local/bin:$PATH - -eval "$(starship init zsh)" - -autoload Uz compinit -compinit - -typeset -g -A key - -key[Home]="${terminfo[khome]}" -key[End]="${terminfo[kend]}" -key[Insert]="${terminfo[kich1]}" -key[Backspace]="${terminfo[kbs]}" -key[Delete]="${terminfo[kdch1]}" -key[Up]="${terminfo[kcuu1]}" -key[Down]="${terminfo[kcud1]}" -key[Left]="${terminfo[kcub1]}" -key[Right]="${terminfo[kcuf1]}" -key[PageUp]="${terminfo[kpp]}" -key[PageDown]="${terminfo[knp]}" -key[ShiftTab]="${terminfo[kcbt]}" - -# setup key accordingly -[[ -n "${key[Home]}" ]] && bindkey -- "${key[Home]}" beginning-of-line -[[ -n "${key[End]}" ]] && bindkey -- "${key[End]}" end-of-line -[[ -n "${key[Insert]}" ]] && bindkey -- "${key[Insert]}" overwrite-mode -[[ -n "${key[Backspace]}" ]] && bindkey -- "${key[Backspace]}" backward-delete-char -[[ -n "${key[Delete]}" ]] && bindkey -- "${key[Delete]}" delete-char -[[ -n "${key[Up]}" ]] && bindkey -- "${key[Up]}" up-line-or-history -[[ -n "${key[Down]}" ]] && bindkey -- "${key[Down]}" down-line-or-history -[[ -n "${key[Left]}" ]] && bindkey -- "${key[Left]}" backward-char -[[ -n "${key[Right]}" ]] && bindkey -- "${key[Right]}" forward-char -[[ -n "${key[PageUp]}" ]] && bindkey -- "${key[PageUp]}" beginning-of-buffer-or-history -[[ -n "${key[PageDown]}" ]] && bindkey -- "${key[PageDown]}" end-of-buffer-or-history -[[ -n "${key[Shift-Tab]}" ]] && bindkey -- "${key[Shift-Tab]}" reverse-menu-complete - -# Finally, make sure the terminal is in application mode, when zle is -# active. Only then are the values from $terminfo valid. -if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then - autoload -Uz add-zle-hook-widget - function zle_application_mode_start { echoti smkx } - function zle_application_mode_stop { echoti rmkx } - add-zle-hook-widget -Uz zle-line-init zle_application_mode_start - add-zle-hook-widget -Uz zle-line-finish zle_application_mode_stop -fi - -# History search -autoload -Uz up-line-or-beginning-search down-line-or-beginning-search -zle -N up-line-or-beginning-search -zle -N down-line-or-beginning-search - -[[ -n "${key[Up]}" ]] && bindkey -- "${key[Up]}" up-line-or-beginning-search diff --git a/org/README.org b/org/README.org deleted file mode 100755 index 41a07d7..0000000 --- a/org/README.org +++ /dev/null @@ -1,59 +0,0 @@ -#+title: Dotfiles | My Linux setup -#+OPTIONS: num:nil toc:t -#+STARTUP: overview -#+SETUPFILE: org-sourcehut/sourcehut.setup -#+export_file_name: ../README.md -* About - -Welcome to my dotfiles repository! - -Here you will find my custom configuration files for a variety of applications and utilities. All of which are written in org-mode literate configuration format. - -All of the configurations in this repository are managed using [[https://www.gnu.org/software/stow/][GNU Stow]], which allows me to easily manage and switch between different configurations for different systems or environments. - -* Configurations -# + [[file:emacs.org][Emacs]] -# + [[file:shells.org][Shells]] -# + [[file:Qtile.org][Qtile]] - -# /Qtile with emacs/ -# [[file:pictures/showcase2.png]] - -Themes I'm using: -+ [[https://github.com/dracula/rofi][Dracula for rofi]] -+ [[https://github.com/dracula/nyxt][Dracula for nyxt]] -+ [[https://github.com/dracula/qutebrowser][Dracula for Qutebrowser]] -+ [[https://github.com/wimstefan/mocp-themes][mocp-themes]] collection - -* Installation -+ clone repository - - #+begin_src bash - git clone [email protected]:~thanos_apollo/dotfiles - #+end_src - -+ Install [[https://www.gnu.org/software/stow/][GNU stow]] - #+begin_src bash - paru -S install stow # use your distros package manager instead of paru - #+end_src -+ Use stow - #+begin_src bash - cd dotfiles - stow . - #+end_src -If you get any errors due to existing files, rename them with ~_backup~ at the end -e.g ~mv ~/.bashrc ~/.bashrc_backup~ - -+ Install my system packages for Arch Linux /optional/ - #+begin_src bash - paru -S - < pkglist.txt - #+end_src - -* WARNING! -It's important to note that my dotfiles in this repository are constantly evolving, as I am constantly experimenting with new configurations and settings. - -While I am happy to share my configurations, *I do not recommend using them as-is on your own system* without careful review and testing. - -It's possible that some configurations may not work as expected or may cause issues on your system. Therefore, I strongly recommend taking caution and reviewing any changes carefully before applying them to your own system. - - |