My scripts and configs for Linux
If you have internet, most of that stuff can be downloaded by install script using system package manager.
coreutils
>= 8.22rustc
andcargo
chsh
git
ping
wget
orcurl
ncurses
(not necessary)- package manager:
pkg
,apt
,apt-get
,winget
,pacman
,zypper
,xbps-install
,yum
,aptitude
,dnf
,emerge
,up2date
,urpmi
,slackpkg
,apk
,brew
,flatpak
orsnap
sudo
ordoas
awk
orgawk
emacs
(WIP)nano
alacritty
git
$ git clone https://github.com/TwoSpikes/dotfiles.git
$ cd dotfiles
$ sh .dotfiles-setup.sh .
Or to install everything
$ yes | sh .dotfiles-setup.sh .
Note
After installation it is safe to remove local dotfiles repository
$ cp ./.dotfiles-setup.sh ~/
Then you need to restart your shell
$ exec $SHELL
This is a basic Git configuration
Manual installation
$ cp ./.gitconfig-default ~/
$ cp ~/.gitconfig-default ~/.gitconfig
Now, in file ~/.gitconfig
uncomment lines [user] name
and [user] email
Change Your Name
to your name
Change [email protected]
to your email
$ cp ./.gitmessage ~/
Vim configuration is moved to its own repository
It is a script that runs tsch (TwoSpikes ChooseHub
)
It is my old thing that asks for my several most used commands but no I do not use it.
$ echo "source ./shscripts/tsch.sh" >> ~/.bashrc
Then you need to restart the shell
$ tsch
It is a configuration for GNU Emacs
$ cp -r ./.emacs.d/ ~/
After installing dotfiles, run:
$ dotfiles commit
If using Vim/NeoVim:
:DotfilesCommit
Warning
Do not run this command in home directory, run it only in this repository, otherwise it will delete some files on your computer
$ dotfiles version