Skip to content

Instantly share code, notes, and snippets.

View agkozak's full-sized avatar

Alexandros Kozák agkozak

View GitHub Profile
@agkozak
agkozak / .zshrc
Last active January 3, 2022 01:57
@kuttor's .zshrc, converted for use with zcomet
#! /bin/env zsh
# Install zcomet, if necessary
if [[ ! -f ${ZDOTDIR:-${HOME}}/.zcomet/bin/zcomet.zsh ]]; then
command git clone https://github.com/agkozak/zcomet.git ${ZDOTDIR:-${HOME}}/.zcomet/bin
fi
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then

Keybase proof

I hereby claim:

  • I am agkozak on github.
  • I am agkozak (https://keybase.io/agkozak) on keybase.
  • I have a public key ASB7g1od212lv-TWIsP55gP9HqsYdppwgUY4fL_yJFwWaAo

To claim this, I am signing this object:

@agkozak
agkozak / git_solaris.md
Last active September 11, 2018 14:46
How to compile Git on Solaris 11.3

Correct the Makefile so that

CC = gcc

and add

NO_GETTEXT=YesPlease

Then run gmake (after installing it, if necessary).

@agkozak
agkozak / zsh-cloudlinux.md
Last active June 3, 2017 00:25
To make zsh's history file work in CloudLinux with CageFS and SecureLinks

Compilation instructions:

./Util/preconfig
./configure --prefix=$HOME
make CFLAGS+=-DHAVE_SYMLINKS="0" 
make install

Put in ~/.zshrc:

setopt HIST_FCNTL_LOCK