Browse Source

Added stow.sh

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
10195a6d24
Signed by: Kevin-Mok GPG Key ID: AEA75288DC135CF5
  1. 11
      README.md
  2. 4
      aliases/key_aliases
  3. 1
      ranger/.config/ranger/rc.conf
  4. 3
      stow.sh
  5. 2
      txt/key_dirs.txt

11
README.md

@ -12,6 +12,11 @@ are also for my Linux
<!--- Main Programs {{{ -->
## Main Programs
* **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)
* **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)
@ -22,8 +27,8 @@ are also for my Linux
<!--- Setup {{{ -->
## Setup
I wrote [a script](setup.sh) to
symbolically link the files/directories in the repository to the locations
they should be in the system.
I use
[Stow](http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html)
to symbolically link the configs/dotfiles.
<!--- }}} Setup -->

4
aliases/key_aliases

@ -98,6 +98,7 @@ id "identify"
# }}} system #
# config files {{{ #
rf "source ~/.config/fish/config.fish"
rz "source ~/linux-config/aliases/zsh_aliases"
lca "f ~/linux-config/aliases"
@ -189,7 +190,8 @@ gchnw "git checkout -b wip"
gchw "git checkout wip"
gheadm1 "git reset --hard HEAD~1"
# 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 {{{ #
gst "git stash"

1
ranger/.config/ranger/rc.conf

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

3
stow.sh

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

2
txt/key_dirs.txt

@ -22,7 +22,7 @@ ib /home/kevin/linux-config/configs/i3blocks-scripts
j /home/kevin/Documents/journal
lh /home/kevin/Documents/listening-history
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
snp /home/kevin/.vim/plugged/vim-snippets/UltiSnips
sv /home/kevin/coding/spotify-lib-vis/src

Loading…
Cancel
Save