Updated vimrc
Tidy up vimrc, prep for v2 of dotties
Improvment to ctrp, only searchs for tracked files if in root of git repository
My setups used for my raspberry pi's/ VM's etc
Clone the repo in your desired location, then follow the instructions below, note it is normal if it looks fozen when vim starts downloading plugins, simply wait for the install to finish (depending on your internet speed, max 30 seconds for all the plugins to be downloaded).
$ make
$ make vim
$ make bash
$ make zsh
You can further customize the configs, by using c<target>
during installation,
examples are show below,
$ make all cbash
$ make bash cbash
$ bash <(curl -s https://skiqqy.xyz/install.sh)
vim:
bash:
[<name>@<hostname>] -[git-status 'flag']-> [<time>] <pwd>
name
-> your username.hostname
-> your hostname.[git-status 'flag']
-> is only present when inside a repository, and
instead of 'git-status' it displays the current branch, and has flags present
based on the repo status, specifically,
!
-> File(s) has been modified/ is unstaged.?
-> File(s) is not being tracking.+
-> File(s) have been added to be tracked.>
-> File(s) have been renamed.x
-> File(s) have stopped being tracked (ie deleted from repo).*
-> Commits have not been pushed.user@pc[master !?]23:28~/repo1
-> In order of flag appearence, on
'master' branch, modified/unstaged file, and an untracked file.user@pc[test_branch x+?*]23:28~/repo2
-> In order of flag appearence,
on 'test_branch', with a file has been untracked/ deleted, a file that
has been tracked, an untracked file, and commits that have not been pushed.pwd
-> is your current path.Macos + bashrc + zsh
ls
a warning is shown, to fix this, simply edit ~/.bashrc or ~/.zshrc (which
ever one you are using), and just removed the appropriate aliases, that
is, delete the lines with 'ls -Fh --color=auto'. I keep it in the bashrc
and zshrc since i dont use MacOS, muh arch linux.The recommended method of updating the dotfiles is to run,
$ make update
as this will ensure nothing will break, if you simply run git pull
, you can
break the dotfiles (e.g paths could have changed).
To uninstall, simply type
$ make uninstall
This reset's all your configs to the way they where before you installed, this
is achieved through the ~/.backup and ~/.backup/.df* files. Note,
the make uninstall
only uninstall's the components you selected, that is, say
you type make bash
, bash configs will be installed, then when you type make uninstall
,
only the bash configs will be uninstalled and restored, ie other configs (for example
vim configs will remain unaffected)
just run this
cd
mkdir repos
cd repos
git clone https://git.sr.ht/~skiqqy/.dotfiles
cd .dotfiles
make
Bash Config
Zsh Config
Vim Config