mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-01-31 01:23:51 -05:00
125 current 2024-05-14 14:48:28 24.05.20240419.5c24cf2 6.6.28 *
This commit is contained in:
parent
ee103fda84
commit
9f41de6c75
1 changed files with 6 additions and 0 deletions
|
@ -126,6 +126,11 @@ in
|
|||
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||
# echo "Hello, ${config.home.username}!"
|
||||
# '')
|
||||
(pkgs.writeShellScriptBin "git_fetchAll" ''
|
||||
git branch -r | grep -v '\->' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "''${remote#origin/}" "$remote"; done
|
||||
git fetch --all
|
||||
git pull --all
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "install_eslint" ''
|
||||
set -x
|
||||
cp /home/${config.home.username}/.config/.eslintrc.json .
|
||||
|
@ -197,6 +202,7 @@ in
|
|||
#
|
||||
home.shellAliases = {
|
||||
paste = "xsel -ob";
|
||||
lg = "lazygit";
|
||||
copy = "xsel -ib";
|
||||
b = "/home/${config.home.username}/nixos/build";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue