This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HISTFILE=~/.histfile | |
| HISTSIZE=100 | |
| SAVEHIST=true | |
| setopt autocd | |
| bindkey -e | |
| bindkey -v '^?' backward-delete-char | |
| zstyle :compinstall filename '$HOME/.zshrc' | |
| autoload -Uz compinit | |
| compinit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # : << EOF | |
| # https://github.com/gpakosz/.tmux | |
| # (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
| # without any warranty. | |
| # Copyright 2012— Gregory Pakosz (@gpakosz). | |
| # -- session creation ---------------------------------------------------------- | |
| # prompt for session name when creating a new session, possible values are: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {} }: | |
| let | |
| dwm = pkgs.fetchFromGitHub { | |
| owner = "asifZaman0362"; | |
| repo = "dwm"; | |
| rev = "master"; | |
| }; | |
| in | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, ... }: { | |
| imports = [ | |
| "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" | |
| ]; | |
| # use the latest Linux kernel | |
| boot.kernelPackages = pkgs.linuxPackages_latest; | |
| # Needed for https://github.com/NixOS/nixpkgs/issues/58959 | |
| boot.supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *background: #1d2021 | |
| *foreground: #d4be98 | |
| *color0: #1d2021 | |
| *color8: #928374 | |
| *color7: #a89984 | |
| *color15: #ebdbb2 | |
| *color6: #689d6a | |
| *color14: #8ec07c | |
| *color5: #b16286 | |
| *color13: #d3869b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file contains fish universal variable definitions. | |
| # VERSION: 3.0 | |
| SETUVAR __fish_initialized:3100 | |
| SETUVAR fish_color_autosuggestion:747369 | |
| SETUVAR fish_color_cancel:\x2dr | |
| SETUVAR fish_color_command:99cc99 | |
| SETUVAR fish_color_comment:ffcc66 | |
| SETUVAR fish_color_cwd:green | |
| SETUVAR fish_color_cwd_root:red |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import dbus | |
| class Client(): | |
| def __init__(self): | |
| bus = dbus.SessionBus() | |
| service = bus.get_object('com.example.service', "/com/example/service") | |
| self._message = service.get_dbus_method('get_message', 'com.example.service.Message') | |
| self._quit = service.get_dbus_method('quit', 'com.example.service.Quit') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # content has to be in .config/fish/config.fish | |
| # if it does not exist, create the file | |
| setenv SSH_ENV $HOME/.ssh/environment | |
| function start_agent | |
| echo "Initializing new SSH agent ..." | |
| ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV | |
| echo "succeeded" | |
| chmod 600 $SSH_ENV | |
| . $SSH_ENV > /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " VIM Configuration File | |
| " Description: Optimized for C/C++ development, but useful also for other things. | |
| " Author: Gerhard Gappmeier | |
| " | |
| " set UTF-8 encoding | |
| set enc=utf-8 | |
| set fenc=utf-8 | |
| set termencoding=utf-8 | |
| " disable vi compatibility (emulation of old bugs) |
NewerOlder