sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
#!/bin/bash | |
for d in /sys/kernel/iommu_groups/*/devices/*; do | |
n=${d#*/iommu_groups/*}; n=${n%%/*} | |
printf 'IOMMU Group %s ' "$n" | |
lspci -nns "${d##*/}" | |
done |
echo"Removing docker if installed...." | |
sudo apt-get -y remove docker docker-engine docker.io containerd runc | |
echo"Updating..." | |
sudo apt-get -y update && sudo apt-get -y upgrade | |
echo"Installing docker dependencies" | |
sudo apt-get -y install \ | |
apt-transport-https \ | |
ca-certificates \ |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# This is how I used it: | |
# $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history | |
import sys | |
import time | |