ljdsalkjdsalkj

This commit is contained in:
2023-06-24 20:23:38 +02:00
parent a2ab641f72
commit cbd38fc8f4
6 changed files with 38 additions and 12 deletions
+4 -2
View File
@@ -25,7 +25,8 @@
# TODO: remove
function atom_nix {
#nix-shell -p atom --run "atom $(printf "%q " "$@") --in-process-gpu --no-sandbox"
nix-shell -p atom --run "atom $(printf "%q " "$@") --no-sandbox"
#nix-shell -p atom --run "atom $(printf "%q " "$@") --no-sandbox"
nix run nixpkgs#atom -- --disable-gpu --in-process-gpu --no-sandbox "$@"
}
'';
@@ -124,7 +125,8 @@
killall = "killall -v";
bin = "perl -pe 'chomp' | curl -is -X POST https://i.kuklef.se/upload -F content=@- -F expiration=10d | grep '^location:' | cut -d' ' -f2-";
atom = "atom --no-sandbox";
#atom = "atom --no-sandbox";
atom = "atom --disable-gpu --in-process-gpu --no-sandbox";
};
programs.nix-index.enable = true;
+1 -1
View File
@@ -51,7 +51,7 @@ in {
}
function marks {
#ls -l "$_JUMP_MARKPATH" | sed 's/ / /g' | cut -d' ' -f9- | sed 's/ -/\t-/g' && echo
ls --color=always -l "$_JUMP_MARKPATH" | tr -s ' ' | cut -d' ' -f9- | sed -e 's/ -> /§/g' | column -t -s '§' -o ' -> '
command ls --color=always -l "$_JUMP_MARKPATH" | tr -s ' ' | cut -d' ' -f9- | sed -e 's/ -> /§/g' | column -t -s '§' -o ' -> '
}
_complete_jump_marks() {
local curw=''${COMP_WORDS[COMP_CWORD]}