Compare commits

...

2 Commits

Author SHA1 Message Date
3afb8761d4 Enables .c <-> .h projectile switch 2025-10-17 19:15:03 +02:00
993fa7eec3 Fixes fish version check 2025-10-17 19:14:45 +02:00
2 changed files with 9 additions and 3 deletions

1
.emacs
View File

@@ -660,6 +660,7 @@
(concat "-imp." ext) (concat "-imp." ext)
(concat "-impl." ext) (concat "-impl." ext)
".cpp" ".cpp"
".c"
))) )))
) )
(when (member ext '("c" "cc" "cpp")) (when (member ext '("c" "cc" "cpp"))

View File

@@ -158,7 +158,12 @@ function install_fish() {
fi fi
local current_version=$(fish --version | cut -d " " -f 3) local current_version=$(fish --version | cut -d " " -f 3)
if [ $(echo "${current_version}\n3.4.0" | sort | head -1) != "3.4.0" ] local current_version_test=$(cat <<EOF
${current_version}
3.4.0
EOF
)
if [ $(echo "${current_version_test}" | sort -n | head -1) != "3.4.0" ]
then then
echo "Wrong version of fish ${current_version}" echo "Wrong version of fish ${current_version}"
fish_good=1 fish_good=1