Skip to content

Latest commit

 

History

341 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

~/etc

If you are not me, this is very probably very useless for you. Not your generic 'dotfiles' repository.

Marek's tailored and cross-platform profile configuration files and interactive power-prompts for:

  • Linux bash 4.x - Fedora, *EL, *bian, *buntu, Slackware, WSL, Git-Bash...
  • Windows PowerShell 5.x - Win10,11 (experimental)

Bundles Vim configuration (incl vim-pathogen plugins) and several other ~/.*rc files.

Installation

Clone in the home|profile directory and run install script for apropriate environment/shell:

# go to userprofile
cd ~                    # /home/marek
cd ${env:USERPROFILE}   # C:\Users\marek

# clone (recursive for bundles)
git clone --recursive https://github.com/marek-sezemsky/etc.git

# install suite
etc/install       # bash
etc/install.ps1   # powershell

Profile activation

Load in the in ~/.bashrc:

# `~/.bashrc` - User specific aliases and functions
# ...

if [ -f ~/etc/bashrc ]; then
  source ~/etc/bashrc
fi

Load in the Profile.ps1:

# `$PROFILE.CurrentUserCurrentHost` User specific aliases and functions
# ...

if (Test-Path "${env:USERPROFILE}/etc/profile.ps1") {
  . ${env:USERPROFILE}/etc/profile.ps1
}

Scripts

see also the global ../bin git repo

Worthwhile(?) scripts:

  • ~/etc/install - installation script
  • ~/etc/sync - pull submodules recursively

Notes

WSL poison $PATH with Windows paths; to strip with first /mnt/c/* occurence:

export PATH="${PATH/%:\/mnt\/c\/*/}"

TODO

  • need PowerShell support?!
  • add z/OS profiles
  • merge job/worker contexts
  • skynet timers

About

~/etc profile files and Vim configuration

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages