Skip to content

Instantly share code, notes, and snippets.

View qleguennec's full-sized avatar

Quentin Le Guennec qleguennec

  • France
View GitHub Profile
#! /bin/sh
function layout()
{
tmux lsw | head -n 1 | egrep -o -e "\[layout.*$" | awk '{print $2}' | sed 's/.$//'
}
function curwindow()
{
tmux lsw | awk '{print $2}' | grep '*' | sed 's/.$//'
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_striter.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: qle-guen <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/25 07:57:08 by qle-guen #+# #+# */
/* Updated: 2015/11/25 08:01:54 by qle-guen ### ########.fr */
/* */
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_striteri.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: qle-guen <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/24 09:49:17 by qle-guen #+# #+# */
/* Updated: 2015/11/24 10:12:32 by qle-guen ### ########.fr */
/* */
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_itoa.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: qle-guen <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/26 14:48:09 by qle-guen #+# #+# */
/* Updated: 2015/12/08 23:30:25 by qle-guen ### ########.fr */
/* */
8c8
< ZSH_THEME="robbyrussell"
---
> ZSH_THEME="af-magic"
56,57c56
< export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/moka/.bin"
< # export MANPATH="/usr/local/man:$MANPATH"
---
> source $HOME/.user/env.sh
CONF=$HOME/.user
git clone http://github.com/qleguennec/user-conf $CONF
sh $CONF/install.sh
# Path to your oh-my-zsh installation.
export ZSH=/user/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="af-magic"
# Uncomment the following line to use case-sensitive completion.
# Path to your oh-my-zsh installation.
export ZSH=/user/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="af-magic"
# Uncomment the following line to use case-sensitive completion.
# Path to your oh-my-zsh installation.
export ZSH=/user/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="af-magic"
# Uncomment the following line to use case-sensitive completion.
set number
set linebreak
set showbreak=+++
set textwidth=100
set showmatch
set visualbell
set hlsearch
set smartcase
set ignorecase