diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-12-23 23:40:35 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-12-23 23:40:35 +0530 |
| commit | 66adff9257c0bdcf5fea357cf4afd9c5804ac9d9 (patch) | |
| tree | 92b9941ed1b211594446c69e1c1a4d57240f1a0e /external/zsh/aliases/dev.zsh | |
| parent | c69a505caac996f78b7b010dcc563672cb5a6019 (diff) | |
| download | nixos-config-66adff9257c0bdcf5fea357cf4afd9c5804ac9d9.tar.gz nixos-config-66adff9257c0bdcf5fea357cf4afd9c5804ac9d9.zip | |
Moves zsh config to config and symlinked
Diffstat (limited to 'external/zsh/aliases/dev.zsh')
| -rw-r--r-- | external/zsh/aliases/dev.zsh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/external/zsh/aliases/dev.zsh b/external/zsh/aliases/dev.zsh deleted file mode 100644 index 1e6587f..0000000 --- a/external/zsh/aliases/dev.zsh +++ /dev/null @@ -1,36 +0,0 @@ - -alias aws="docker run --rm -it amazon/aws-cli" - -# nix shell with zsh -nix-zsh() { nix-shell --run "WITH_NIX_PREFIX='${NX_PREFIX:-':'}' zsh" "$@"; } - -# shell for node 14 -with_node_14() { NX_PREFIX="node14" nix-zsh -p nodejs-14_x "$@"; } - -# shell for docker-compose -with_dcomp() { TMPDIR=$HOME/dump/tempdir NX_PREFIX=docker-compose nix-zsh -p docker-compose; } - -# npm run for node_14 -nrx() { with_node_14 --run "npm run $*"; } - -# :: Filename Pattern Replacetext -far() { - local file_r="$1"; shift; - local matcher_r="$1"; shift; - local result="$1"; shift; - fd "$file_r" | sad "$matcher_r" "$result" -p diff-so-fancy "$@"; -} - -# :: FileType Filename -codi() { - local syntax="${1:-python}" - shift - nvim -c \ - "let g:startify_disable_at_vimenter = 1 |\ - set bt=nofile ls=0 |\ - hi ColorColumn ctermbg=NONE |\ - hi VertSplit ctermbg=NONE |\ - hi NonText ctermfg=0 |\ - Codi $syntax" "$@" -} - |
