Skip to content

Commit

Permalink
add zsh cache, refactor shbang
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas6 committed Jan 13, 2025
1 parent 4c5b2b2 commit 26e750a
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 13 deletions.
1 change: 1 addition & 0 deletions mods/base/.config/shell/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.zcompdump
.zcompcache
.zsh_sessions

local/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euo pipefail

Expand Down Expand Up @@ -31,5 +31,3 @@ else

photosync-cache "$source"
fi


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -eu

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

bin_dir=$(dirname "$(realpath "$0")")
root_dir=$(dirname "$bin_dir")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -eu

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euo pipefail

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

message="$1"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euo pipefail

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -u

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euo pipefail

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

export PUSHOVER_API_TOKEN='value1'
export PUSHOVER_USER_KEY='value2'
2 changes: 1 addition & 1 deletion mods/base/.local/share/services/generic/photosync/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env sh

./bin/photosync-env photosync-watch

0 comments on commit 26e750a

Please sign in to comment.