dot

packages and services management
Log | Files | Refs | README

commit 37dc20656000581d8ce013cf6fcdb51eb1374f9d
parent c2b7c9bc9d7dca80c1062fd99ad67ee8132b4a6d
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu,  9 Nov 2017 18:48:01 +0100

l script -> alias

Diffstat:
Dbin/l | 3---
Mdot/bashrc | 7+------
Mdot/profile | 25++++++++-----------------
3 files changed, 9 insertions(+), 26 deletions(-)

diff --git a/bin/l b/bin/l @@ -1,3 +0,0 @@ -#!/bin/sh - -ls -Alp "$@" | tee /dev/stderr | less -F diff --git a/dot/bashrc b/dot/bashrc @@ -1,5 +1,3 @@ -# --- prompt ------------------------------------------------------------------- - PS1='$( [ $? = 0 ] || printf "\033[31;1mx\n\033[m" )\[$( @@ -7,16 +5,13 @@ PS1='$( )\]--- ' PS2=' -- ' -# --- alias -------------------------------------------------------------------- - alias cl='printf "\033[H\033[2J"' alias blih="blih -u $BLIH" alias p='p=$(io-ps)' alias s='git status -s --branch' alias c='cd "$(find . -maxdepth 4 -name .git -prune -o -type d | iomenu)"' alias f='f=$(io-find)' - -# --- functions ---------------------------------------------------------------- +alias l='ls -Alp' day() { diff --git a/dot/profile b/dot/profile @@ -1,5 +1,3 @@ -# --- standard ----------------------------------------------------------------- - export NAME="Josuah Demangeon" export TZ="Europe/Paris" export NICK="josuah" @@ -7,19 +5,14 @@ export EMAIL="mail@josuah.net" export EDITOR="vim" VISUAL="$EDITOR" export PAGER="less" MANPAGER="$PAGER" -# --- paths -------------------------------------------------------------------- - -export SV="$HOME/etc/sv" -export ENV="$HOME/.bashrc" -export MAIL="$HOME/var/mail/INBOX" -export PATH="$HOME/etc/bin:$HOME/usr/bin:$PATH" -export MANPATH="$HOME/etc/man:/usr/share/man:/usr/local/man" -export MANPATH="$HOME/usr/share/man:$MANPATH" -export C_INCLUDE_PATH="$HOME/usr/include" -export LIBRARY_PATH="$HOME/usr/lib:/usr/local/lib/inotify" -export LD_LIBRARY_PATH="$HOME/usr/lib:/usr/local/lib/inotify" - -# --- programs ----------------------------------------------------------------- +export ENV="$HOME/.bashrc" +export MAIL="$HOME/var/mail/INBOX" +export PATH="$HOME/etc/bin:$HOME/usr/bin:$PATH" +export MANPATH="$HOME/etc/man:/usr/share/man:/usr/local/man" +export MANPATH="$HOME/usr/share/man:$MANPATH" +export C_INCLUDE_PATH="$HOME/usr/include" +export LIBRARY_PATH="$HOME/usr/lib:/usr/local/lib/inotify" +export LD_LIBRARY_PATH="$HOME/usr/lib:/usr/local/lib/inotify" export ABDUCO_SOCKET_DIR="$HOME/var/run" @@ -30,6 +23,4 @@ export BLIH="josuah.demangeon@epitech.eu" export SSH_AUTH_SOCK="$HOME/var/run/ssh-agent" -# --- startup ------------------------------------------------------------------ - [ "$SSH_TTY" ] || ssh-agent -a "$HOME/var/run/ssh-agent"