Added stow.sh

This commit is contained in:
2019-01-29 02:41:37 -05:00
parent dee0136282
commit 10195a6d24
5 changed files with 16 additions and 5 deletions

View File

@@ -12,6 +12,11 @@ are also for my Linux
<!--- Main Programs {{{ --> <!--- Main Programs {{{ -->
## Main Programs ## Main Programs
* **OS**: [Arch Linux](https://www.archlinux.org/) ([packages](txt/nzxt-pkgs.txt)) * **OS**: [Arch Linux](https://www.archlinux.org/) ([packages](txt/nzxt-pkgs.txt))
```
> systemd-analyze
Startup finished in 2.341s (kernel) + 1.085s (userspace) = 3.426s
graphical.target reached after 1.085s in userspace
```
* **Terminal**: [rxvt-unicode-pixbuf](https://www.wikiwand.com/en/Rxvt) * **Terminal**: [rxvt-unicode-pixbuf](https://www.wikiwand.com/en/Rxvt)
* **Shell**: [Zsh](http://zsh.sourceforge.net/) + [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) * **Shell**: [Zsh](http://zsh.sourceforge.net/) + [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
* **Window Manager**: [i3-gaps](https://github.com/Airblader/i3) * **Window Manager**: [i3-gaps](https://github.com/Airblader/i3)
@@ -22,8 +27,8 @@ are also for my Linux
<!--- Setup {{{ --> <!--- Setup {{{ -->
## Setup ## Setup
I wrote [a script](setup.sh) to I use
symbolically link the files/directories in the repository to the locations [Stow](http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html)
they should be in the system. to symbolically link the configs/dotfiles.
<!--- }}} Setup --> <!--- }}} Setup -->

View File

@@ -98,6 +98,7 @@ id "identify"
# }}} system # # }}} system #
# config files {{{ # # config files {{{ #
rf "source ~/.config/fish/config.fish"
rz "source ~/linux-config/aliases/zsh_aliases" rz "source ~/linux-config/aliases/zsh_aliases"
lca "f ~/linux-config/aliases" lca "f ~/linux-config/aliases"
@@ -189,7 +190,8 @@ gchnw "git checkout -b wip"
gchw "git checkout wip" gchw "git checkout wip"
gheadm1 "git reset --hard HEAD~1" gheadm1 "git reset --hard HEAD~1"
# show files in git repo # show files in git repo
gls "git ls-tree -r HEAD --name-only" # gls "git ls-tree -r HEAD --name-only"
gls "git ls-tree HEAD --name-only"
# push {{{ # # push {{{ #
gst "git stash" gst "git stash"

View File

@@ -300,6 +300,7 @@ map ut tag_remove
map "<any> tag_toggle tag=%any map "<any> tag_toggle tag=%any
map <Space> mark_files toggle=True map <Space> mark_files toggle=True
map v mark_files all=True toggle=True map v mark_files all=True toggle=True
# unmark/clear selection
map uv mark_files all=True val=False map uv mark_files all=True val=False
map V toggle_visual_mode map V toggle_visual_mode
map uV toggle_visual_mode reverse=True map uV toggle_visual_mode reverse=True

3
stow.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
stow git i3 i3blocks input neofetch ranger shell vim x

View File

@@ -22,7 +22,7 @@ ib /home/kevin/linux-config/configs/i3blocks-scripts
j /home/kevin/Documents/journal j /home/kevin/Documents/journal
lh /home/kevin/Documents/listening-history lh /home/kevin/Documents/listening-history
ms /home/kevin/coding/best-mf-site-personal ms /home/kevin/coding/best-mf-site-personal
ra /home/kevin/linux-config/configs/ranger ra /home/kevin/.config/ranger
sr /home/kevin/linux-config/scripts sr /home/kevin/linux-config/scripts
snp /home/kevin/.vim/plugged/vim-snippets/UltiSnips snp /home/kevin/.vim/plugged/vim-snippets/UltiSnips
sv /home/kevin/coding/spotify-lib-vis/src sv /home/kevin/coding/spotify-lib-vis/src