Skip to content

Instantly share code, notes, and snippets.

Docker version 24.0.2, build cb74dfcd85
#compdef docker
compdef _docker docker
# zsh completion for docker -*- shell-script -*-
__docker_debug()
{
local file="$BASH_COMP_DEBUG_FILE"
if [[ -n ${file} ]]; then
echo "$*" >> "${file}"
# Set up the prompt
autoload -Uz promptinit
promptinit
setopt histignorealldups sharehistory
setopt promptsubst
bindkey -v
autoload -Uz compinit
autoload zmv
compinit
! -----------------------------------------------------------------------------
! File: gruvbox-dark.xresources
! Description: Retro groove colorscheme generalized
! Author: morhetz <morhetz@gmail.com>
! Source: https://github.com/morhetz/gruvbox-generalized
! Last Modified: 6 Sep 2014
! -----------------------------------------------------------------------------
! hard contrast: *background: #1d2021
*background: #282828
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
font_family TerminessTTF Nerd Font
bold_font Terminess (TTF) Bold Nerd Font Complete
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
@akimdi
akimdi / GitCommitEmoji.md
Created February 12, 2020 21:31 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@akimdi
akimdi / installing_virt_manager.md
Created February 6, 2020 11:00 — forked from diffficult/installing_virt_manager.md
Easy instructions to get virt-manager qemuv/kvm running on Arch

Easy instructions to get QEMU/KVM and virt-manager up and running on Arch

  1. Make sure your cpu support kvm with below command:

     grep -E "(vmx|svm)" --color=always /proc/cpuinfo
    
  2. Make sure BIOS have enable “Virtualization Technology”.

  3. User access to /dev/kvm so add your account into kvm(78) group:

@akimdi
akimdi / tmux-cheatsheet.md
Created September 4, 2019 20:19 — forked from heroheman/tmux-cheatsheet.md
Tmux Simple Cheatsheet

Basic Tmux Cheatsheet

Sessions

In Bash

  • start new session: tmux
  • start new session with name: tmux new -s sessionname
  • show running sessions: tmux ls
  • attach last session: tmux a
  • attach session by name: tmux a -t sessionname