Collected small changes.
This commit is contained in:
parent
c6632e55c4
commit
dbd899a111
|
|
@ -2,6 +2,7 @@
|
|||
apt-get install docker-compose
|
||||
#dpkg -i /var/tmp/docker-compose/docker-compose_1.11.0-1_amd64.deb
|
||||
|
||||
# apt-get install jq checkinstall
|
||||
# PROJECT=docker/compose
|
||||
# PRERELEASE=false
|
||||
# RELEASE=$(curl "https://api.github.com/repos/${PROJECT}/releases?per_page=5" | jq -r '.[0] | select( .prerelease = false ) |.tag_name')
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ if [ -e /usr/bin/grc ]; then
|
|||
alias mtr="cl mtr --curses"
|
||||
alias nmap="cl nmap"
|
||||
alias ntpdate="cl ntpdate"
|
||||
alias df="cl df -hT | column -t"
|
||||
alias df="cl df -hT"
|
||||
alias getfcl="cl getfcl"
|
||||
alias tail="cl tail"
|
||||
alias ip="cl ip"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
## pycharm python ide
|
||||
PYCHARM_VERSION=2018.1.4
|
||||
|
||||
# https://en.wikipedia.org/wiki/PyCharm
|
||||
# https://www.jetbrains.com/pycharm/download/#section=linux
|
||||
# https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=linux&code=PCC
|
||||
PYCHARM_VERSION=2019.1.1
|
||||
cd /var/tmp && wget -c https://download.jetbrains.com/python/pycharm-community-${PYCHARM_VERSION}.tar.gz && tar xzvf /var/tmp/pycharm-community-${PYCHARM_VERSION}.tar.gz
|
||||
|
||||
|
||||
|
|
|
|||
64
020_vcsh.sh
64
020_vcsh.sh
|
|
@ -1 +1,65 @@
|
|||
## vcsh
|
||||
# When you clone a remote repository foo, vcsh does the following behind the scene:
|
||||
# 1. create a folder in .config/vcsh/repo.d/foo.git, and export it as GIT_DIR.
|
||||
# 2. create $VCSH_BASE directory, i.e your home directory by default; and
|
||||
# export it as GIT_WORK_TREE
|
||||
# Thus the work tree and git meta data, aka .git folder, are separated.
|
||||
# We can use git fetch to pull the remote repository into the GIT_DIR, and
|
||||
# merge the changes back to the GIT_WORK_TREE.
|
||||
|
||||
|
||||
# To see the current remote repository.
|
||||
# "vcsh mr remote show origin"
|
||||
# "vcsh mr remote remove origin"
|
||||
# "vcsh mr remote add origin https://github.com/crazzyfool/mr.git"
|
||||
# "vcsh mr push --set-upstream origin master"
|
||||
|
||||
# These can be aliased in the config file. See below
|
||||
|
||||
## mr
|
||||
# To get started using mr, perhaps you already have some checked out repositories. Go into each one and run
|
||||
|
||||
|
||||
# "mr register".
|
||||
|
||||
# Now mr has a list of them in ~/.mrconfig, which you can edit later to tune its operation.
|
||||
|
||||
# Suppose you've cd'd to ~/src, and it has many repositories under it. To update them all, run
|
||||
|
||||
# "mr update".
|
||||
# "mr commit". commit any pending changes
|
||||
# "mr status". check the status of each,
|
||||
# "mr push". push changes to all repositories.
|
||||
|
||||
apt-get install -y vcsh mr
|
||||
|
||||
mkdir -p ~/.config/mr/available.d
|
||||
mkdir -p ~/.config/mr/config.d
|
||||
|
||||
GIT_WORK_TREE=${HOME}
|
||||
|
||||
# Change this to your dotfiles repository
|
||||
GIT_REPO=git://github.com/RichiH/
|
||||
|
||||
cat > ~/.config/mr/available.d/mr.vcsh <<EOF
|
||||
[$HOME/.config/vcsh/repo.d/mr.git]
|
||||
checkout = vcsh clone ${GIT_REPO}/vcsh_mr_template.git mr
|
||||
update = vcsh mr pull
|
||||
push = vcsh mr push
|
||||
status = vcsh mr status
|
||||
gc = vcsh mr gc
|
||||
EOF
|
||||
|
||||
cat > ~/.config/mr/available.d/zsh.vcsh <<EOF
|
||||
[$HOME/.config/vcsh/repo.d/zsh.git]
|
||||
checkout = vcsh clone ${GIT_REPO}/zshrc.git zsh
|
||||
EOF
|
||||
|
||||
cat > ~/.mrconfig <<EOF
|
||||
[DEFAULT]
|
||||
git_gc = git gc "$@"
|
||||
jobs = 5
|
||||
|
||||
include = cat ~/.config/mr/config.d/*
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue