/Linux-configuaration-files

Configuration files (dot files) for my home directory on for a fresh Linux installation

Primary LanguageShell

My configuration files (dot files) intended for $HOME directory on a fresh Linux installation

The dotfiles installtion process (after the system is set up)

  1. Create a .config_repo folder in $HOME

  2. Inside clone this repository as a bare one:

git clone git@github.com:lurco/Linux-configuaration-files.git
  1. Setup an alias to use git_home as git for $HOME directory's repo:
alias git_home="git --git-dir=$HOME/.config_repo --work-tree=$HOME"
  1. Checkout the master in order to get the current version of the repo in $HOME (in case of conflicts delete existing files to make room for repo ones)

  2. Set up a flag for local repo to ignore untracked files in working directory (i.e. almost everyting in $HOME):

git_home config --local status.showUntrackedFiles no

This entire scheme is taken from this article (which in turn was based on this forum thread).

Beyond dotfiles

Setting up vim

After setting up the repo, it's important to run vim on the new .vimrc and run :PluginInstall option for Vundle one of the main vim package managers in order to install the other plugins.

Almost all packages are straight up github downloads through Vundle with the notable exception of YouCompleteMe, which requires a lot of dependencies and a python installation process AFTER downloading the Github resourses through Vundle in Vim.

Further setup

List of packages to install:

  1. TexLive

  2. lilypond

  3. PacVim

  4. nvm, Node.js and npm

  5. Zeal (a Dash style offline documentation browser)

  6. neofetch (a system info screen)

  7. lame (the mp3 encoder)

  8. newest Python, then PIP and iPython

  9. Klavaro

  10. Gnuplot

  11. Calibre

  12. hstr (visual bash autocompletion)

  13. moreutils (mostly for sponge) ...

Git configuration

Setup git config with:

git config --global user.email ""
git config --global user.name ""

And generate an SSH key for Github access: https://docs.github.com/en/authentication/connecting-to-github-with-ssh

LaTeX configuration

tlmgr is the package manager for LaTeX, but it's location isn't in the PATH environmental variable for root, so sudo tlmgr install ... doesn't work. In order to add tlmgr to PATH use:

sudo visudo

and add the proper tlmgr path to the Defaults securepath variable. The file open in nano, so in order to save you have to press CTRL+X then y, then Enter... And they say exiting vim is difficult...