Skip to content

Instantly share code, notes, and snippets.

@przbadu
Last active October 3, 2020 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save przbadu/b4f448e3451bc39dd4d3d9f6d7458b79 to your computer and use it in GitHub Desktop.
Save przbadu/b4f448e3451bc39dd4d3d9f6d7458b79 to your computer and use it in GitHub Desktop.

System Configuration

Vim

Terminal

If you get below error:

./gnome-terminal-nightfly.sh: line 108: gconftool: command not found
./gnome-terminal-nightfly.sh: line 108: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found
./gnome-terminal-nightfly.sh: line 92: gconftool: command not found

Then you have to check the 'Run command as login shell' checkbox on the gnome-terminal preferences.

ls

alias ll="ls -Alh"
alias ls="lsd --group-dirs first"

ISSUE with fonts not loading, install fonts with Nerd Fonts lsd-rs/lsd#111

cat

NOTE if you are in ubuntu then bat is renamed to batcat

alias cat="batcat"

My .zshrc file

export EDITOR=vim

# Docker aliases
function dc-fn {
        UID=${UID} GID=${GID} docker-compose $*
}
function dcr-fn {
        UID=${UID} GID=${GID} docker-compose run $*
}
export UID=${UID}
export GID=${GID}
alias dc=dc-fn
alias dcr=dcr-fn
alias dcb="docker-compose build"
alias dcu="docker-compose up"
alias dcd="docker-compose down"
alias dim="docker images"
alias dps="docker ps"
alias dsp="docker system prune --all"
# make sure to install Peltoche/lsd
alias ll="ls -Alh"
alias ls="lsd --group-dirs first"
# make sure to install sharkdp/bat#installation
alias cat="batcat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment