-
Notifications
You must be signed in to change notification settings - Fork 39
Home
Jörg Thalheim edited this page Aug 6, 2020
·
2 revisions
Welcome to the dotfiles wiki!
$ sudo pacman -S git
or
$ sudo apt-get install git-core
$ git clone --depth=1 https://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick
$ alias homeshick="$HOME/.homesick/repos/homeshick/bin/homeshick"
$ homeshick clone https://github.com/Mic92/dotfiles.git
$ pkg install ripgrep git tmux zsh vim ruby tcpdump lsof rsync sudo bash
$ apt-get install build-essential ripgrep htop git-core tig zsh tmux vim-nox ruby strace tcpdump lsof rsync sudo
or minimal:
$ sudo apt-get install htop git-core zsh tmux vim-nox
$ pacman -S base-devel ripgrep htop git tig zsh tmux vim ruby strace tcpdump lsof rsync sudo
$ bash aur.sh -si package-query yaourt
$ cat > aur.sh <<'EOF'
#!/bin/bash
d=${BUILDDIR:-$PWD}
for p in ${@##-*}
do
cd "$d"
curl "https://aur.archlinux.org/cgit/aur.git/snapshot/${p}.tar.gz"|tar xz
cd "$p"
makepkg ${@##[^\-]*}
done
EOF
$ useradd -m -s /bin/zsh joerg
$ gpasswd -a joerg wheel # sudo on debian
$ passwd joerg
$ install -d -m 700 -o joerg -g joerg ~joerg/.ssh
$ cat >> /tmp/authorized_keys <<'EOF'
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbBp2dH2X3dcU1zh+xW3ZsdYROKpJd3n13ssOP092qE joerg@turingmachine
EOF
$ install -m 400 -o joerg -g joerg /tmp/authorized_keys ~joerg/.ssh/authorized_keys && rm /tmp/authorized_keys
sed -i '/^#.*de_DE.UTF-8/s/^#//g;/^#.*en_DK.UTF-8/s/^#//g' /etc/locale.gen && locale-gen